add new struct definitions
This commit is contained in:
@@ -0,0 +1,37 @@
|
||||
namespace Il2CppInspector.Next.Metadata;
|
||||
|
||||
using StringIndex = int;
|
||||
using AssemblyIndex = int;
|
||||
using TypeDefinitionIndex = int;
|
||||
using MethodIndex = int;
|
||||
using CustomAttributeIndex = int;
|
||||
using VersionedSerialization.Attributes;
|
||||
|
||||
[VersionedStruct]
|
||||
public partial struct Il2CppImageDefinition
|
||||
{
|
||||
public StringIndex NameIndex { get; private set; }
|
||||
public AssemblyIndex AssemblyIndex { get; private set; }
|
||||
|
||||
public TypeDefinitionIndex TypeStart { get; private set; }
|
||||
public uint TypeCount { get; private set; }
|
||||
|
||||
[VersionCondition(GreaterThan = "24.0")]
|
||||
public TypeDefinitionIndex ExportedTypeStart { get; private set; }
|
||||
|
||||
[VersionCondition(GreaterThan = "24.0")]
|
||||
public uint ExportedTypeCount { get; private set; }
|
||||
|
||||
public MethodIndex EntryPointIndex { get; private set; }
|
||||
|
||||
[VersionCondition(GreaterThan = "19.0")]
|
||||
public uint Token { get; private set; }
|
||||
|
||||
[VersionCondition(GreaterThan = "24.1")]
|
||||
public CustomAttributeIndex CustomAttributeStart { get; private set; }
|
||||
|
||||
[VersionCondition(GreaterThan = "24.1")]
|
||||
public uint CustomAttributeCount { get; private set; }
|
||||
|
||||
public readonly bool IsValid => NameIndex != 0;
|
||||
}
|
||||
Reference in New Issue
Block a user