mirror of
https://github.com/LukeFZ/Il2CppInspectorRedux.git
synced 2026-01-27 13:09:38 +05:00
Model: Set IsGeneric* properties when creating type from IL2CPP_TYPE_GENERICINST
This commit is contained in:
@@ -304,7 +304,10 @@ namespace Il2CppInspector.Reflection {
|
||||
MemberType = memberType | MemberTypes.NestedType;
|
||||
}
|
||||
|
||||
// TODO: Generic* properties and ContainsGenericParameters
|
||||
IsGenericType = true;
|
||||
IsGenericParameter = false;
|
||||
IsGenericTypeDefinition = false; // This is a use of a generic type definition
|
||||
ContainsGenericParameters = true;
|
||||
|
||||
// Get the instantiation
|
||||
var genericInstance = image.ReadMappedObject<Il2CppGenericInst>(generic.context.class_inst);
|
||||
|
||||
Reference in New Issue
Block a user