Model: Handle nested types

This commit is contained in:
Katy Coe
2019-10-31 16:02:32 +01:00
parent cb9d391d52
commit 70a541c36c
7 changed files with 53 additions and 27 deletions

View File

@@ -47,7 +47,7 @@ namespace Il2CppInspector.Reflection {
// Generate types in DefinedTypes from typeStart to typeStart+typeCount-1
for (var t = Definition.typeStart; t < Definition.typeStart + Definition.typeCount; t++) {
var type = new TypeInfo(Model.Package, t, this);
var type = new TypeInfo(t, this);
// Don't add empty module definitions
if (type.Name != "<Module>")