diff --git a/Il2CppInspector/Il2CppBinaryARM.cs b/Il2CppInspector/Architectures/Il2CppBinaryARM.cs similarity index 100% rename from Il2CppInspector/Il2CppBinaryARM.cs rename to Il2CppInspector/Architectures/Il2CppBinaryARM.cs diff --git a/Il2CppInspector/Il2CppBinaryARM64.cs b/Il2CppInspector/Architectures/Il2CppBinaryARM64.cs similarity index 100% rename from Il2CppInspector/Il2CppBinaryARM64.cs rename to Il2CppInspector/Architectures/Il2CppBinaryARM64.cs diff --git a/Il2CppInspector/Il2CppBinaryX64.cs b/Il2CppInspector/Architectures/Il2CppBinaryX64.cs similarity index 100% rename from Il2CppInspector/Il2CppBinaryX64.cs rename to Il2CppInspector/Architectures/Il2CppBinaryX64.cs diff --git a/Il2CppInspector/Il2CppBinaryX86.cs b/Il2CppInspector/Architectures/Il2CppBinaryX86.cs similarity index 100% rename from Il2CppInspector/Il2CppBinaryX86.cs rename to Il2CppInspector/Architectures/Il2CppBinaryX86.cs diff --git a/Il2CppInspector/Il2CppBinary.cs b/Il2CppInspector/IL2CPP/Il2CppBinary.cs similarity index 100% rename from Il2CppInspector/Il2CppBinary.cs rename to Il2CppInspector/IL2CPP/Il2CppBinary.cs diff --git a/Il2CppInspector/Il2CppBinaryClasses.cs b/Il2CppInspector/IL2CPP/Il2CppBinaryClasses.cs similarity index 100% rename from Il2CppInspector/Il2CppBinaryClasses.cs rename to Il2CppInspector/IL2CPP/Il2CppBinaryClasses.cs diff --git a/Il2CppInspector/Il2CppConstants.cs b/Il2CppInspector/IL2CPP/Il2CppConstants.cs similarity index 100% rename from Il2CppInspector/Il2CppConstants.cs rename to Il2CppInspector/IL2CPP/Il2CppConstants.cs diff --git a/Il2CppInspector/Il2CppInspector.cs b/Il2CppInspector/IL2CPP/Il2CppInspector.cs similarity index 95% rename from Il2CppInspector/Il2CppInspector.cs rename to Il2CppInspector/IL2CPP/Il2CppInspector.cs index 3499518..cbb2bb4 100644 --- a/Il2CppInspector/Il2CppInspector.cs +++ b/Il2CppInspector/IL2CPP/Il2CppInspector.cs @@ -277,28 +277,4 @@ namespace Il2CppInspector 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; - } - } } diff --git a/Il2CppInspector/Il2CppModel.cs b/Il2CppInspector/IL2CPP/Il2CppModel.cs similarity index 100% rename from Il2CppInspector/Il2CppModel.cs rename to Il2CppInspector/IL2CPP/Il2CppModel.cs diff --git a/Il2CppInspector/Metadata.cs b/Il2CppInspector/IL2CPP/Metadata.cs similarity index 100% rename from Il2CppInspector/Metadata.cs rename to Il2CppInspector/IL2CPP/Metadata.cs diff --git a/Il2CppInspector/MetadataClasses.cs b/Il2CppInspector/IL2CPP/MetadataClasses.cs similarity index 100% rename from Il2CppInspector/MetadataClasses.cs rename to Il2CppInspector/IL2CPP/MetadataClasses.cs diff --git a/Il2CppInspector/IL2CPP/MetadataUsage.cs b/Il2CppInspector/IL2CPP/MetadataUsage.cs new file mode 100644 index 0000000..477216b --- /dev/null +++ b/Il2CppInspector/IL2CPP/MetadataUsage.cs @@ -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; + } + } +} \ No newline at end of file