Class GameKeyContext
- Namespace
- TaleWorlds.InputSystem
- Assembly
- TaleWorlds.InputSystem.dll
public abstract class GameKeyContext
- Inheritance
-
GameKeyContext
- Derived
- Inherited Members
Constructors
GameKeyContext(string, int, GameKeyContextType)
protected GameKeyContext(string id, int gameKeysCount, GameKeyContext.GameKeyContextType type = GameKeyContextType.Default)
Parameters
id
stringgameKeysCount
inttype
GameKeyContext.GameKeyContextType
Properties
GameKeyCategoryId
public string GameKeyCategoryId { get; }
Property Value
RegisteredGameAxisKeys
public Dictionary<string, GameAxisKey>.ValueCollection RegisteredGameAxisKeys { get; }
Property Value
RegisteredGameKeys
public MBReadOnlyList<GameKey> RegisteredGameKeys { get; }
Property Value
RegisteredHotKeys
public Dictionary<string, HotKey>.ValueCollection RegisteredHotKeys { get; }
Property Value
Type
public GameKeyContext.GameKeyContextType Type { get; }
Property Value
Methods
GetGameKey(int)
public GameKey GetGameKey(int gameKeyId)
Parameters
gameKeyId
int
Returns
GetGameKey(string)
public GameKey GetGameKey(string gameKeyId)
Parameters
gameKeyId
string
Returns
GetHotKey(string)
public HotKey GetHotKey(string hotKeyId)
Parameters
hotKeyId
string
Returns
GetHotKeyId(int)
public string GetHotKeyId(int gameKeyId)
Parameters
gameKeyId
int
Returns
GetHotKeyId(string)
public string GetHotKeyId(string hotKeyId)
Parameters
hotKeyId
string
Returns
RegisterGameAxisKey(GameAxisKey, bool)
protected void RegisterGameAxisKey(GameAxisKey gameKey, bool addIfMissing = true)
Parameters
gameKey
GameAxisKeyaddIfMissing
bool
RegisterGameKey(GameKey, bool)
protected void RegisterGameKey(GameKey gameKey, bool addIfMissing = true)
Parameters
RegisterHotKey(HotKey, bool)
protected void RegisterHotKey(HotKey gameKey, bool addIfMissing = true)
Parameters
This page was last modified at 09/01/2024 16:12:00 +00:00 (UTC).