Roll up Il2CppInspector.Binary and Il2CppInspector.Metadata

This commit is contained in:
Katy Coe
2019-10-16 17:00:30 +02:00
parent 950c2d6f16
commit 3345d4566a
9 changed files with 43 additions and 28 deletions

View File

@@ -1,5 +1,5 @@
/*
Copyright 2017 Katy Coe - http://www.hearthcode.org - http://www.djkaty.com
Copyright 2017-2019 Katy Coe - http://www.hearthcode.org - http://www.djkaty.com
All rights reserved.
*/
@@ -83,7 +83,7 @@ namespace Il2CppInspector.Reflection {
public FieldInfo(Il2CppInspector pkg, int fieldIndex, TypeInfo declaringType) :
base(declaringType) {
Definition = pkg.Metadata.Fields[fieldIndex];
Definition = pkg.Fields[fieldIndex];
Index = fieldIndex;
Offset = pkg.FieldOffsets[fieldIndex];
Name = pkg.Strings[Definition.nameIndex];