Minor re-factoring
This commit is contained in:
@@ -277,28 +277,4 @@ namespace Il2CppInspector
|
|||||||
return processors;
|
return processors;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public enum MetadataUsageType
|
|
||||||
{
|
|
||||||
TypeInfo = 1,
|
|
||||||
Type = 2,
|
|
||||||
MethodDef = 3,
|
|
||||||
FieldInfo = 4,
|
|
||||||
StringLiteral = 5,
|
|
||||||
MethodRef = 6,
|
|
||||||
}
|
|
||||||
|
|
||||||
public class MetadataUsage
|
|
||||||
{
|
|
||||||
public MetadataUsageType Type { get; }
|
|
||||||
public int SourceIndex { get; }
|
|
||||||
public int DestinationIndex { get; }
|
|
||||||
|
|
||||||
public MetadataUsage(MetadataUsageType type, int sourceIndex, int destinationIndex)
|
|
||||||
{
|
|
||||||
Type = type;
|
|
||||||
SourceIndex = sourceIndex;
|
|
||||||
DestinationIndex = destinationIndex;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
32
Il2CppInspector/IL2CPP/MetadataUsage.cs
Normal file
32
Il2CppInspector/IL2CPP/MetadataUsage.cs
Normal file
@@ -0,0 +1,32 @@
|
|||||||
|
/*
|
||||||
|
Copyright (c) 2019-2020 Carter Bush - https://github.com/carterbush
|
||||||
|
Copyright 2020 Katy Coe - http://www.hearthcode.org - http://www.djkaty.com
|
||||||
|
|
||||||
|
All rights reserved.
|
||||||
|
*/
|
||||||
|
|
||||||
|
namespace Il2CppInspector
|
||||||
|
{
|
||||||
|
public enum MetadataUsageType
|
||||||
|
{
|
||||||
|
TypeInfo = 1,
|
||||||
|
Type = 2,
|
||||||
|
MethodDef = 3,
|
||||||
|
FieldInfo = 4,
|
||||||
|
StringLiteral = 5,
|
||||||
|
MethodRef = 6,
|
||||||
|
}
|
||||||
|
|
||||||
|
public class MetadataUsage
|
||||||
|
{
|
||||||
|
public MetadataUsageType Type { get; }
|
||||||
|
public int SourceIndex { get; }
|
||||||
|
public int DestinationIndex { get; }
|
||||||
|
|
||||||
|
public MetadataUsage(MetadataUsageType type, int sourceIndex, int destinationIndex) {
|
||||||
|
Type = type;
|
||||||
|
SourceIndex = sourceIndex;
|
||||||
|
DestinationIndex = destinationIndex;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user