Quick fix since appveyor is weird with modern c#

This commit is contained in:
KillzXGaming 2022-08-25 19:59:47 -04:00
parent b06da55530
commit 7872502b11

View file

@ -299,18 +299,24 @@ namespace FirstPlugin {
#region Sections
internal class BTAF {
public (uint offset, uint size)[] FileDataArray;
public FD[] FileDataArray;
public BTAF() { }
public BTAF(BinaryDataReader reader) {
uint numberOfFiles = reader.ReadUInt32();
FileDataArray = new (uint, uint)[numberOfFiles];
FileDataArray = new FD[numberOfFiles];
for(ulong i = 0; i < numberOfFiles; i++) {
FileDataArray[i].offset = reader.ReadUInt32();
FileDataArray[i].size = reader.ReadUInt32();
}
}
public class FD
{
public uint offset;
public uint size;
}
}
internal class BTNF {