IL2CPP: Eliminate public BinaryMetadataUsages

This commit is contained in:
Katy Coe
2020-02-02 23:03:38 +01:00
parent c43f92b1e2
commit 3e69784898
3 changed files with 14 additions and 11 deletions

View File

@@ -22,11 +22,14 @@ namespace Il2CppInspector
public MetadataUsageType Type { get; }
public int SourceIndex { get; }
public int DestinationIndex { get; }
public ulong VirtualAddress { get; private set; }
public MetadataUsage(MetadataUsageType type, int sourceIndex, int destinationIndex) {
Type = type;
SourceIndex = sourceIndex;
DestinationIndex = destinationIndex;
}
public void SetAddress(ulong virtualAddress) => VirtualAddress = virtualAddress;
}
}