unload ammo/mag, 1.7.0

This commit is contained in:
Tyfon
2024-06-15 17:56:12 -07:00
parent b562a8665d
commit 05a646b82f
6 changed files with 35 additions and 25 deletions

View File

@@ -47,7 +47,7 @@ namespace UIFixes
public static ConfigEntry<KeyboardShortcut> TopUpKeyBind { get; set; }
public static ConfigEntry<KeyboardShortcut> UseKeyBind { get; set; }
public static ConfigEntry<KeyboardShortcut> UseAllKeyBind { get; set; }
public static ConfigEntry<KeyboardShortcut> UnloadAmmoKeyBind { get; set; }
public static ConfigEntry<KeyboardShortcut> UnloadKeyBind { get; set; }
public static ConfigEntry<KeyboardShortcut> FilterByKeyBind { get; set; }
public static ConfigEntry<KeyboardShortcut> LinkedSearchKeyBind { get; set; }
public static ConfigEntry<bool> UseRaidMouseScrollMulti { get; set; } // Advanced
@@ -228,12 +228,12 @@ namespace UIFixes
null,
new ConfigurationManagerAttributes { })));
configEntries.Add(UnloadAmmoKeyBind = config.Bind(
configEntries.Add(UnloadKeyBind = config.Bind(
InputSection,
"Unload Ammo Shortcut",
new KeyboardShortcut(KeyCode.None),
"Unload Mag/Ammo Shortcut",
new KeyboardShortcut(KeyCode.U),
new ConfigDescription(
"Keybind to unload the ammo in a magazine",
"Keybind to unload the ammo in a magazine, or a magazine in a gun",
null,
new ConfigurationManagerAttributes { })));