M&B: Bannerlord 1.2.7
The horns sound, the ravens gather.
Loading...
Searching...
No Matches
TaleWorlds.InputSystem.GameKey Class Reference

Public Member Functions

 GameKey (int id, string stringId, string groupId, InputKey defaultKeyboardKey, InputKey defaultControllerKey, string mainCategoryId="")
 GameKey object. Contains a default input key for keyboards and a key for controllers.
 
 GameKey (int id, string stringId, string groupId, InputKey defaultKeyboardKey, string mainCategoryId="")
 GameKey object. Contains a default input key for keyboards and a key for controllers.
 
override string ToString ()
 
override bool Equals (object obj)
 
override int GetHashCode ()
 

Properties

int Id [get]
 
string StringId [get]
 
string GroupId [get]
 
string MainCategoryId [get]
 
Key KeyboardKey [get]
 
Key DefaultKeyboardKey [get]
 
Key ControllerKey [get]
 
Key DefaultControllerKey [get]
 

Constructor & Destructor Documentation

◆ GameKey() [1/2]

TaleWorlds.InputSystem.GameKey.GameKey ( int  id,
string  stringId,
string  groupId,
InputKey  defaultKeyboardKey,
InputKey  defaultControllerKey,
string  mainCategoryId = "" 
)
Parameters
idID of the game key, unique in all groups.
stringIdstring ID of the game key, for saving.
groupIdHotKey group name of the game key.
defaultKeyboardKeyDefault keyboard key that will be set to this gamekey.
defaultControllerKeyDefault gamepad key that will be set to this gamekey.
mainCategoryIdVisible filter tag of gamekey. Same category gamekeys appear in the same category.

◆ GameKey() [2/2]

TaleWorlds.InputSystem.GameKey.GameKey ( int  id,
string  stringId,
string  groupId,
InputKey  defaultKeyboardKey,
string  mainCategoryId = "" 
)
Parameters
idID of the game key, unique in all groups.
stringIdstring ID of the game key, for saving.
groupIdHotKey group name of the game key.
defaultKeyboardKeyDefault keyboard key that will be set to this gamekey.
mainCategoryIdVisible filter tag of gamekey. Same category gamekeys appear in the same category.

Member Function Documentation

◆ ToString()

override string TaleWorlds.InputSystem.GameKey.ToString ( )

◆ Equals()

override bool TaleWorlds.InputSystem.GameKey.Equals ( object  obj)

◆ GetHashCode()

override int TaleWorlds.InputSystem.GameKey.GetHashCode ( )

Property Documentation

◆ Id

int TaleWorlds.InputSystem.GameKey.Id
get

◆ StringId

string TaleWorlds.InputSystem.GameKey.StringId
get

◆ GroupId

string TaleWorlds.InputSystem.GameKey.GroupId
get

◆ MainCategoryId

string TaleWorlds.InputSystem.GameKey.MainCategoryId
get

◆ KeyboardKey

Key TaleWorlds.InputSystem.GameKey.KeyboardKey
get

◆ DefaultKeyboardKey

Key TaleWorlds.InputSystem.GameKey.DefaultKeyboardKey
get

◆ ControllerKey

Key TaleWorlds.InputSystem.GameKey.ControllerKey
get

◆ DefaultControllerKey

Key TaleWorlds.InputSystem.GameKey.DefaultControllerKey
get