diff --git a/AssemblyRemapper/Models/AppSettingsModel.cs b/AssemblyRemapper/Models/AppSettingsModel.cs index 16ee4bd..e296488 100644 --- a/AssemblyRemapper/Models/AppSettingsModel.cs +++ b/AssemblyRemapper/Models/AppSettingsModel.cs @@ -18,10 +18,8 @@ public class AppSettings public string AssemblyPath { get; set; } = string.Empty; public string OutputPath { get; set; } = string.Empty; public string MappingPath { get; set; } = string.Empty; - public bool RenameFields { get; set; } = true; public bool RenameProperties { get; set; } = true; - public bool Publicize { get; set; } = false; public bool Unseal { get; set; } = false; } diff --git a/AssemblyRemapper/Remapper/Remapper.cs b/AssemblyRemapper/Remapper/Remapper.cs index a5d39ec..a9370b1 100644 --- a/AssemblyRemapper/Remapper/Remapper.cs +++ b/AssemblyRemapper/Remapper/Remapper.cs @@ -37,12 +37,12 @@ public class Remapper ChooseBestMatches(); // Dont publicize and unseal until after the remapping so we can use those as search parameters - if (!DataProvider.Settings.Remapper.Publicize) + if (!DataProvider.Settings.AppSettings.Publicize) { Publicizer.Publicize(); } - if (!DataProvider.Settings.Remapper.Unseal) + if (!DataProvider.Settings.AppSettings.Unseal) { Publicizer.Unseal(); } @@ -59,8 +59,8 @@ public class Remapper Logger.Log("-----------------------------------------------", ConsoleColor.Yellow); Logger.Log($"Starting remap...", ConsoleColor.Yellow); Logger.Log($"Module contains {DataProvider.ModuleDefinition.Types.Count} Types", ConsoleColor.Yellow); - Logger.Log($"Publicize: {DataProvider.Settings.Remapper.Publicize}", ConsoleColor.Yellow); - Logger.Log($"Unseal: {DataProvider.Settings.Remapper.Unseal}", ConsoleColor.Yellow); + Logger.Log($"Publicize: {DataProvider.Settings.AppSettings.Publicize}", ConsoleColor.Yellow); + Logger.Log($"Unseal: {DataProvider.Settings.AppSettings.Unseal}", ConsoleColor.Yellow); Logger.Log("-----------------------------------------------", ConsoleColor.Yellow); } diff --git a/AssemblyRemapperGUI/SettingsController.cs b/AssemblyRemapperGUI/SettingsController.cs index 43d47ad..acd86ec 100644 --- a/AssemblyRemapperGUI/SettingsController.cs +++ b/AssemblyRemapperGUI/SettingsController.cs @@ -2,7 +2,7 @@ namespace AssemblyRemapperGUI; -internal partial class AssemblyToolGUI +public partial class AssemblyToolGUI { #region SETTINGS_BUTTONS