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

Public Types

enum  Modifiers {
  None = 0x00000000 ,
  Shift = 0x00000001 ,
  Alt = 0x00000002 ,
  Control = 0x00000004
}
 

Public Member Functions

 HotKey (string id, string groupId, List< Key > keys, Modifiers modifiers=Modifiers.None, Modifiers negativeModifiers=Modifiers.None)
 
 HotKey (string id, string groupId, InputKey inputKey, Modifiers modifiers=Modifiers.None, Modifiers negativeModifiers=Modifiers.None)
 
bool HasModifier (Modifiers modifier)
 
bool HasSameModifiers (HotKey other)
 
override string ToString ()
 
override bool Equals (object obj)
 
override int GetHashCode ()
 

Public Attributes

string Id
 
string GroupId
 

Properties

List< KeyKeys [get]
 
List< KeyDefaultKeys [get]
 

Member Enumeration Documentation

◆ Modifiers

Enumerator
None 
Shift 
Alt 
Control 

Constructor & Destructor Documentation

◆ HotKey() [1/2]

TaleWorlds.InputSystem.HotKey.HotKey ( string id,
string groupId,
List< Key > keys,
Modifiers modifiers = Modifiers::None,
Modifiers negativeModifiers = Modifiers::None )

◆ HotKey() [2/2]

TaleWorlds.InputSystem.HotKey.HotKey ( string id,
string groupId,
InputKey inputKey,
Modifiers modifiers = Modifiers::None,
Modifiers negativeModifiers = Modifiers::None )

Member Function Documentation

◆ HasModifier()

bool TaleWorlds.InputSystem.HotKey.HasModifier ( Modifiers modifier)

◆ HasSameModifiers()

bool TaleWorlds.InputSystem.HotKey.HasSameModifiers ( HotKey other)

◆ ToString()

override string TaleWorlds.InputSystem.HotKey.ToString ( )

◆ Equals()

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

◆ GetHashCode()

override int TaleWorlds.InputSystem.HotKey.GetHashCode ( )

Member Data Documentation

◆ Id

string TaleWorlds.InputSystem.HotKey.Id

◆ GroupId

string TaleWorlds.InputSystem.HotKey.GroupId

Property Documentation

◆ Keys

List<Key> TaleWorlds.InputSystem.HotKey.Keys
get

◆ DefaultKeys

List<Key> TaleWorlds.InputSystem.HotKey.DefaultKeys
get