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

@@ -49,10 +49,10 @@ namespace Il2CppInspector.Reflection
default:
// Basic primitive types
if ((int) pType.type >= DefineConstants.FullNameTypeString.Count)
if ((int) pType.type >= Il2CppConstants.FullNameTypeString.Count)
return null;
return Assemblies.SelectMany(x => x.DefinedTypes).First(x => x.FullName == DefineConstants.FullNameTypeString[(int)pType.type]);
return Assemblies.SelectMany(x => x.DefinedTypes).First(x => x.FullName == Il2CppConstants.FullNameTypeString[(int)pType.type]);
}
}
}