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
idstringgameKeysCountinttypeGameKeyContext.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
gameKeyIdint
Returns
GetGameKey(string)
public GameKey GetGameKey(string gameKeyId)
Parameters
gameKeyIdstring
Returns
GetHotKey(string)
public HotKey GetHotKey(string hotKeyId)
Parameters
hotKeyIdstring
Returns
GetHotKeyId(int)
public string GetHotKeyId(int gameKeyId)
Parameters
gameKeyIdint
Returns
GetHotKeyId(string)
public string GetHotKeyId(string hotKeyId)
Parameters
hotKeyIdstring
Returns
RegisterGameAxisKey(GameAxisKey, bool)
protected void RegisterGameAxisKey(GameAxisKey gameKey, bool addIfMissing = true)
Parameters
gameKeyGameAxisKeyaddIfMissingbool
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).