Model: Implement MetadataToken property

This commit is contained in:
Katy Coe
2021-01-10 08:37:49 +01:00
parent 8ffff24079
commit cd7ddf193a
11 changed files with 32 additions and 16 deletions

View File

@@ -25,6 +25,9 @@ namespace Il2CppInspector.Reflection {
// What sort of member this is, eg. method, field etc.
public abstract MemberTypes MemberType { get; }
// Metadata token of the member
public int MetadataToken { get; protected set; }
// Name of the member
public virtual string Name { get; set; }