using BepInEx.Configuration; namespace UIFixes { internal class Settings { public static ConfigEntry WeaponPresetConfirmOnNavigate { get; set; } public static ConfigEntry WeaponPresetConfirmOnClose { get; set; } public static ConfigEntry TransferConfirmOnClose { get; set; } public static ConfigEntry UseHomeEnd { get; set; } public static ConfigEntry RebindPageUpDown { get; set; } public static void Init(ConfigFile config) { WeaponPresetConfirmOnNavigate = config.Bind("Weapon Presets", "Confirm on screen change", false, "Whether to confirm unsaved changes when you change screens without closing the preset"); WeaponPresetConfirmOnClose = config.Bind("Weapon Presets", "Confirm on close", true, "Whether to still confirm unsaved changes when you actually close the preset"); TransferConfirmOnClose = config.Bind("Transfer Items", "Confirm untransfered items", false, "Whether to pointlessly confirm that you're leaving the item transfer with literally no consequences"); UseHomeEnd = config.Bind("Keybinds", "Add support for Home and End", true, "Home and End will scroll to the top and bottom of lists"); RebindPageUpDown = config.Bind("Keybinds", "Use normal PageUp and PageDown (requires restart)", true, "Changes PageUp and PageDown to simply page up and down, not scroll all the way to top and bottom"); } } }