Table of Contents

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 string
gameKeysCount int
type GameKeyContext.GameKeyContextType

Properties

GameKeyCategoryId

public string GameKeyCategoryId { get; }

Property Value

string

RegisteredGameAxisKeys

public Dictionary<string, GameAxisKey>.ValueCollection RegisteredGameAxisKeys { get; }

Property Value

Dictionary<string, GameAxisKey>.ValueCollection

RegisteredGameKeys

public MBReadOnlyList<GameKey> RegisteredGameKeys { get; }

Property Value

MBReadOnlyList<GameKey>

RegisteredHotKeys

public Dictionary<string, HotKey>.ValueCollection RegisteredHotKeys { get; }

Property Value

Dictionary<string, HotKey>.ValueCollection

Type

public GameKeyContext.GameKeyContextType Type { get; }

Property Value

GameKeyContext.GameKeyContextType

Methods

GetGameKey(int)

public GameKey GetGameKey(int gameKeyId)

Parameters

gameKeyId int

Returns

GameKey

GetGameKey(string)

public GameKey GetGameKey(string gameKeyId)

Parameters

gameKeyId string

Returns

GameKey

GetHotKey(string)

public HotKey GetHotKey(string hotKeyId)

Parameters

hotKeyId string

Returns

HotKey

GetHotKeyId(int)

public string GetHotKeyId(int gameKeyId)

Parameters

gameKeyId int

Returns

string

GetHotKeyId(string)

public string GetHotKeyId(string hotKeyId)

Parameters

hotKeyId string

Returns

string

RegisterGameAxisKey(GameAxisKey, bool)

protected void RegisterGameAxisKey(GameAxisKey gameKey, bool addIfMissing = true)

Parameters

gameKey GameAxisKey
addIfMissing bool

RegisterGameKey(GameKey, bool)

protected void RegisterGameKey(GameKey gameKey, bool addIfMissing = true)

Parameters

gameKey GameKey
addIfMissing bool

RegisterHotKey(HotKey, bool)

protected void RegisterHotKey(HotKey gameKey, bool addIfMissing = true)

Parameters

gameKey HotKey
addIfMissing bool

This page was last modified at 09/01/2024 16:12:00 +00:00 (UTC).