Add support for metadata version 29.2 and 31
This commit is contained in:
@@ -88,7 +88,7 @@ namespace Il2CppInspector
|
||||
// Set object versioning for Bin2Object from metadata version
|
||||
Version = Header.version;
|
||||
|
||||
if (Version < 16 || Version > 29.1) {
|
||||
if (Version < 16 || Version > 31) {
|
||||
throw new InvalidOperationException($"The supplied metadata file is not of a supported version ({Header.version}).");
|
||||
}
|
||||
|
||||
|
||||
@@ -314,6 +314,10 @@ namespace Il2CppInspector
|
||||
public int declaringType;
|
||||
|
||||
public int returnType;
|
||||
|
||||
[Version(Min = 31)]
|
||||
public int returnParameterToken;
|
||||
|
||||
public int parameterStart;
|
||||
|
||||
[Version(Max = 24.0)]
|
||||
@@ -337,6 +341,9 @@ namespace Il2CppInspector
|
||||
public ushort iflags;
|
||||
public ushort slot;
|
||||
public ushort parameterCount;
|
||||
|
||||
[Version(Min = 29.2, Max = 31)]
|
||||
public bool isUnmanagedCallersOnly;
|
||||
}
|
||||
|
||||
public class Il2CppParameterDefinition
|
||||
|
||||
Reference in New Issue
Block a user