55 lines
1.8 KiB
C#
55 lines
1.8 KiB
C#
using VersionedSerialization.Attributes;
|
|
|
|
namespace Il2CppInspector.Next.BinaryMetadata;
|
|
|
|
[VersionedStruct]
|
|
public partial record struct Il2CppCodeGenModule
|
|
{
|
|
public PrimitivePointer<byte> ModuleName; // const char*
|
|
|
|
[NativeInteger]
|
|
public uint MethodPointerCount;
|
|
|
|
public Pointer<Il2CppMethodPointer> MethodPointers;
|
|
|
|
[NativeInteger]
|
|
[VersionCondition(EqualTo = "24.5")]
|
|
[VersionCondition(GreaterThan = "27.1")]
|
|
public uint AdjustorThunksCount;
|
|
|
|
[VersionCondition(EqualTo = "24.5")]
|
|
[VersionCondition(GreaterThan = "27.1")]
|
|
public Pointer<Il2CppTokenAdjustorThunkPair> AdjustorThunks;
|
|
|
|
public PrimitivePointer<int> InvokerIndices; // int*
|
|
|
|
[NativeInteger]
|
|
public uint ReversePInvokeWrapperCount;
|
|
|
|
public Pointer<Il2CppTokenIndexMethodTuple> ReversePInvokeWrapperIndices;
|
|
|
|
[NativeInteger]
|
|
public uint RgctxRangesCount;
|
|
public Pointer<Il2CppTokenRangePair> RgctxRanges;
|
|
|
|
[NativeInteger]
|
|
public uint RgctxsCount;
|
|
public Pointer<Il2CppRgctxDefinition> Rgctxs;
|
|
|
|
public PrimitivePointer<byte> DebuggerMetadata; // Pointer<Il2CppDebuggerMetadataRegistration> DebuggerMetadata;
|
|
|
|
[VersionCondition(GreaterThan = "27.0", LessThan = "27.2")]
|
|
public Pointer<Il2CppMethodPointer> CustomAttributeCacheGenerator;
|
|
|
|
[VersionCondition(GreaterThan = "27.0")]
|
|
public Il2CppMethodPointer ModuleInitializer;
|
|
|
|
[VersionCondition(GreaterThan = "27.0")]
|
|
public PrimitivePointer<int> StaticConstructorTypeIndices; // TypeDefinitionIndex*
|
|
|
|
[VersionCondition(GreaterThan = "27.0")]
|
|
public PrimitivePointer<byte> MetadataRegistration; // Pointer<Il2CppMetadataRegistration>
|
|
|
|
[VersionCondition(GreaterThan = "27.0")]
|
|
public PrimitivePointer<byte> CodeRegistration; // Pointer<Il2CppCodeRegistration>
|
|
} |