add new struct definitions
This commit is contained in:
@@ -0,0 +1,37 @@
|
||||
using System.Runtime.InteropServices;
|
||||
using VersionedSerialization.Attributes;
|
||||
|
||||
namespace Il2CppInspector.Next.Metadata;
|
||||
|
||||
using ImageIndex = int;
|
||||
|
||||
[VersionedStruct]
|
||||
[StructLayout(LayoutKind.Explicit)]
|
||||
public partial struct Il2CppAssemblyDefinition
|
||||
{
|
||||
[FieldOffset(20)]
|
||||
[VersionCondition(LessThan = "15.0")]
|
||||
public Il2CppAssemblyNameDefinition LegacyAname;
|
||||
|
||||
[FieldOffset(0)]
|
||||
public ImageIndex ImageIndex;
|
||||
|
||||
[FieldOffset(4)]
|
||||
[VersionCondition(GreaterThan = "24.1")]
|
||||
public uint Token;
|
||||
|
||||
[FieldOffset(8)]
|
||||
[VersionCondition(LessThan = "24.0")]
|
||||
public int CustomAttributeIndex;
|
||||
|
||||
[FieldOffset(12)]
|
||||
[VersionCondition(GreaterThan = "20.0")]
|
||||
public int ReferencedAssemblyStart;
|
||||
|
||||
[FieldOffset(16)]
|
||||
[VersionCondition(GreaterThan = "20.0")]
|
||||
public int ReferencedAssemblyCount;
|
||||
|
||||
[FieldOffset(20)]
|
||||
public Il2CppAssemblyNameDefinition Aname;
|
||||
}
|
||||
Reference in New Issue
Block a user