Update constants from Unity 2017.2 headers

This commit is contained in:
Katy Coe
2017-11-09 12:46:44 +01:00
parent 8cf13a0b87
commit b6f34bf486
8 changed files with 260 additions and 120 deletions

View File

@@ -208,10 +208,10 @@ namespace Il2CppInspector
ret = $"{GetTypeName(type)}[]";
}
else {
if ((int) pType.type >= DefineConstants.CSharpTypeString.Count)
if ((int) pType.type >= Il2CppConstants.CSharpTypeString.Count)
ret = "unknow";
else
ret = DefineConstants.CSharpTypeString[(int) pType.type];
ret = Il2CppConstants.CSharpTypeString[(int) pType.type];
}
return ret;
}