mirror of
https://github.com/LukeFZ/Il2CppInspectorRedux.git
synced 2025-12-10 05:19:44 +05:00
Model: Implement MetadataToken property
This commit is contained in:
@@ -91,6 +91,7 @@ namespace Il2CppInspector.Reflection {
|
||||
public FieldInfo(Il2CppInspector pkg, int fieldIndex, TypeInfo declaringType) :
|
||||
base(declaringType) {
|
||||
Definition = pkg.Fields[fieldIndex];
|
||||
MetadataToken = (int) Definition.token;
|
||||
Index = fieldIndex;
|
||||
Name = pkg.Strings[Definition.nameIndex];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user