Rename Il2CppDumper to Il2CppCSharpDumper
This commit is contained in:
@@ -4,21 +4,20 @@
|
||||
using System.Collections.Generic;
|
||||
using System.IO;
|
||||
using System.Linq;
|
||||
|
||||
using System.Text;
|
||||
using Il2CppInspector.Reflection;
|
||||
using ParameterInfo = Il2CppInspector.Reflection.ParameterInfo;
|
||||
|
||||
namespace Il2CppInspector
|
||||
{
|
||||
public class Il2CppDumper
|
||||
public class Il2CppCSharpDumper
|
||||
{
|
||||
private readonly Il2CppReflector model;
|
||||
|
||||
// Namespace prefixes whose contents should be skipped
|
||||
public List<string> ExcludedNamespaces { get; set; }
|
||||
|
||||
public Il2CppDumper(Il2CppInspector proc) {
|
||||
public Il2CppCSharpDumper(Il2CppInspector proc) {
|
||||
model = new Il2CppReflector(proc);
|
||||
}
|
||||
|
||||
@@ -61,7 +61,7 @@ namespace Il2CppInspector
|
||||
// Write output file
|
||||
int i = 0;
|
||||
foreach (var il2cpp in il2cppInspectors)
|
||||
new Il2CppDumper(il2cpp) {ExcludedNamespaces = excludedNamespaces}.WriteFile(outFile + (i++ > 0 ? "-" + (i-1) : ""));
|
||||
new Il2CppCSharpDumper(il2cpp) {ExcludedNamespaces = excludedNamespaces}.WriteFile(outFile + (i++ > 0 ? "-" + (i-1) : ""));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -50,7 +50,7 @@ namespace Il2CppInspector
|
||||
// Dump each image in the binary separately
|
||||
int i = 0;
|
||||
foreach (var il2cpp in inspectors)
|
||||
new Il2CppDumper(il2cpp) {ExcludedNamespaces = excludedNamespaces}.WriteFile(testPath + @"\test-result" + (i++ > 0 ? "-" + (i - 1) : "") + ".cs");
|
||||
new Il2CppCSharpDumper(il2cpp) {ExcludedNamespaces = excludedNamespaces}.WriteFile(testPath + @"\test-result" + (i++ > 0 ? "-" + (i - 1) : "") + ".cs");
|
||||
|
||||
// Compare test result with expected result
|
||||
for (i = 0; i < inspectors.Count; i++) {
|
||||
|
||||
Reference in New Issue
Block a user