fix Il2CppType definition for 27.2+ (better)

This commit is contained in:
LukeFZ
2023-11-30 21:36:17 +01:00
parent cbc22dcaf6
commit d7067225fe
3 changed files with 30 additions and 48 deletions

View File

@@ -259,7 +259,7 @@ namespace Il2CppInspector.Reflection
}
// Create a reference type if necessary
return typeRef.ByRef(Package.Version) ? underlyingType.MakeByRefType() : underlyingType;
return typeRef.byref ? underlyingType.MakeByRefType() : underlyingType;
}
// Basic primitive types are specified via a flag value