Model: Handle generic type arguments in generic type declarations

This commit is contained in:
Katy Coe
2019-11-01 16:37:36 +01:00
parent 05bcf98dd3
commit 364daf9dd8
3 changed files with 25 additions and 11 deletions

View File

@@ -41,7 +41,7 @@ namespace Il2CppInspector.Reflection
case Il2CppTypeEnum.IL2CPP_TYPE_CLASS:
case Il2CppTypeEnum.IL2CPP_TYPE_VALUETYPE:
// Classes defined in the metadata
return TypesByDefinitionIndex[usage.datapoint];
return TypesByDefinitionIndex[usage.datapoint]; // klassIndex
case Il2CppTypeEnum.IL2CPP_TYPE_GENERICINST:
case Il2CppTypeEnum.IL2CPP_TYPE_ARRAY: