diff --git a/Il2CppInspector.Common/Next/Metadata/Il2CppGenericContainer.cs b/Il2CppInspector.Common/Next/Metadata/Il2CppGenericContainer.cs index 5112a11..0f9fc5e 100644 --- a/Il2CppInspector.Common/Next/Metadata/Il2CppGenericContainer.cs +++ b/Il2CppInspector.Common/Next/Metadata/Il2CppGenericContainer.cs @@ -15,18 +15,18 @@ public partial record struct Il2CppGenericContainer [field: FieldOffset(4)] public int TypeArgc { get; private set; } + [VersionCondition(GreaterThan = "106.0")] + [field: FieldOffset(4)] + private ushort _newTypeArgc; + [VersionCondition(LessThan = "105.0")] [field: FieldOffset(8)] public int IsMethod { get; private set; } - [field: FieldOffset(12)] - public GenericParameterIndex GenericParameterStart { get; private set; } - - [VersionCondition(GreaterThan = "106.0")] - [field: FieldOffset(4)] - private ushort _newTypeArgc; - - [VersionCondition(GreaterThan = "106.0")] + [VersionCondition(GreaterThan = "106.0")] [field: FieldOffset(8)] public byte _newIsMethod; + + [field: FieldOffset(12)] + public GenericParameterIndex GenericParameterStart { get; private set; } } \ No newline at end of file