support 2022.1

This commit is contained in:
Perfare
2022-06-16 18:41:55 +08:00
committed by VaDiM
parent 2fe57a1c5d
commit 53f3e8232a
4 changed files with 22 additions and 2 deletions

View File

@@ -797,6 +797,7 @@ namespace AssetStudio
public ClassIDType typeID;
public byte customType;
public byte isPPtrCurve;
public byte isIntCurve;
public GenericBinding() { }
@@ -816,6 +817,10 @@ namespace AssetStudio
}
customType = reader.ReadByte();
isPPtrCurve = reader.ReadByte();
if (version[0] > 2022 || (version[0] == 2022 && version[1] >= 1)) //2022.1 and up
{
isIntCurve = reader.ReadByte();
}
reader.AlignStream();
}
}