H7KeybindManager
Class in MMH7Game · MMH7Game.H7KeybindManager · native
Object › H7KeybindManager
Using it from Lua
h7.find_all("H7KeybindManager") -- live instances
h7.find_class("MMH7Game.H7KeybindManager") -- the class
h7.hook("MMH7Game.H7KeybindManager.AddKeybindToManager", fn)
Enums
EKeybindCategory
KC_GENERAL = 0, KC_ADVENTURE = 1, KC_COMBAT = 2, KC_TOWN = 3, KC_CAMERA = 4, KC_MOVEMENT = 5, KC_CHEATS = 6, KC_WINDOW_UNDEFINED = 7, KC_WINDOW_GAME_MENU = 8, KC_WINDOW_REQUEST = 9, KC_WINDOW_DIALOG = 10, KC_WINDOW_COMBAT = 11, KC_WINDOW_BUILDING = 12, KC_WINDOW_WEEKLY = 13, KC_WINDOW_LOADSAVE = 14, KC_WINDOW_QUESTCOMPLETE = 15, KC_MAX = 16
Structs
H7Keybind
| Field | Type |
KeyBind | init |
KeyBind | init |
H7KeybindManager | init |
delegate | init |
int | init |
Defaults
KeyBind=(Name="None",Command="",Control=false,Shift=false,Alt=false,bIgnoreCtrl=false,bIgnoreShift=false,bIgnoreAlt=false)
secondaryKeybind=(Name="None",Command="",Control=false,Shift=false,Alt=false,bIgnoreCtrl=false,bIgnoreShift=false,bIgnoreAlt=false)
Category=EKeybindCategory.KC_GENERAL
keybindFunction=None
Dummy=0
Properties
Functions
| Name | Declaration |
AddKeybindToManager | native function AddKeybindToManager(H7Keybind newKeybind) |
native function AddPopupKeybindToManager(H7Keybind popupKeybind) |
AddToUnreal | function AddToUnreal(KeyBind KeyBind, KeyBind oldKeybind) |
ApplyPostLaunchFixes | function KeyBind ApplyPostLaunchFixes(KeyBind userKeybind) |
CallKeybindFunction | function CallKeybindFunction(H7Keybind KeyBind) |
CausesConflict | function bool CausesConflict(string Command, string Key, bool Shift, bool Alt, bool Control) |
CollapseKeybinds | function H7Keybind CollapseKeybinds(array<H7Keybind> keybinds) |
CreateSetup | function CreateSetup() |
DeleteFromUnreal | function DeleteFromUnreal(string Command) |
function DeletePopupKeybinding(string Command, optional bool removeFromArray) |
function DeletePopupKeybinds() |
GetCategoryForCommand | function H7KeybindManager.EKeybindCategory GetCategoryForCommand(string Command) |
GetConflictCategory | function string GetConflictCategory(H7KeybindManager.EKeybindCategory Category) |
GetConflictKeyComboFromManagerList | function H7Keybind GetConflictKeyComboFromManagerList(KeyBind KeyBind) |
GetConflictUnrealKeybind | function KeyBind GetConflictUnrealKeybind(KeyBind newKeybind) |
GetDebugString | function string GetDebugString(KeyBind KeyBind) |
GetInstance | static function H7KeybindManager GetInstance() |
GetKeybindByCommand | event bool GetKeybindByCommand(string Command, out H7Keybind kBind) |
GetKeybindList | function array<H7Keybind> GetKeybindList() |
GetKeybindListByCategory | function array<H7Keybind> GetKeybindListByCategory(H7KeybindManager.EKeybindCategory cat) |
GetKeyComboString | function string GetKeyComboString(KeyBind KeyBind) |
function H7PopupKeybindings GetPopupKeybindingUserSettings() |
GetPreferedKeybindByCommand | function KeyBind GetPreferedKeybindByCommand(string Command) |
HasEqualKeyCombo | function bool HasEqualKeyCombo(KeyBind key1, KeyBind key2) |
HasRealKey | function bool HasRealKey(KeyBind KeyBind) |
IsAlias | native function bool IsAlias(name aliasOrKey) |
function bool IsPopupCategory(H7KeybindManager.EKeybindCategory Category) |
IsRealKey | function bool IsRealKey(name keyStr) |
KeybindCompare | function int KeybindCompare(H7Keybind A, H7Keybind B) |
KeybindFunctionDelegate | delegate KeybindFunctionDelegate() |
OrderList | function OrderList() |
OverwritePopupKeybindToManagerAndIniList | function OverwritePopupKeybindToManagerAndIniList(H7Keybind newKeybind) |
function ResetPopupKeybinds() |
function SaveNewPopupKeybind(H7Keybind newKeybind) |
SetKeybind | function bool SetKeybind(string Command, bool pshift, bool palt, bool pcontrol, string pkey, bool sshift, bool salt, bool scontrol, string skey) |
SplitKeybind | function array<H7Keybind> SplitKeybind(KeyBind KeyBind) |
Inherited
| From | Members |
| Object | 13 properties, 308 functions |