Class Keybinding
- Namespace
- Root
- Assembly
- Game.Core.dll
- Inheritance
-
object
Keybinding
- Extension Methods
-
Constructors
Keybinding(string, KeySet, KeySet?, bool, bool, float, string)
public Keybinding(string partialId, KeySet defaultKeySet, KeySet? secondaryKeySet = null, bool blockableByUI = true, bool systemDefined = false, float axisThreshold = 0.001, string baseKeybindingId = null)
Parameters
partialId string
defaultKeySet KeySet
secondaryKeySet KeySet?
blockableByUI bool
systemDefined bool
axisThreshold float
baseKeybindingId string
Fields
DefaultKeySets
protected KeySet[] DefaultKeySets
Field Value
- KeySet[]
KeySetCount
public const int KeySetCount = 2
Field Value
- int
KeySets
protected KeySet[] KeySets
Field Value
- KeySet[]
Properties
AxisThreshold
public float AxisThreshold { get; }
Property Value
- float
BaseKeybindingId
public string BaseKeybindingId { get; }
Property Value
- string
Changed
public IEvent Changed { get; }
Property Value
- IEvent
CurrentlyActive
public bool CurrentlyActive { get; }
Property Value
- bool
Description
public IText Description { get; }
Property Value
- IText
GenerallyBlockableByUI
public bool GenerallyBlockableByUI { get; }
Property Value
- bool
Id
public string Id { get; }
Property Value
- string
Modified
public bool Modified { get; }
Property Value
- bool
PartialId
public string PartialId { get; }
Property Value
- string
SystemDefined
public bool SystemDefined { get; }
Property Value
- bool
Title
public IText Title { get; }
Property Value
- IText
Methods
Copy()
Returns
- Keybinding
GetDefaultKeySetAt(int)
public KeySet GetDefaultKeySetAt(int index)
Parameters
index int
Returns
- KeySet
GetKeySetAt(int)
public KeySet GetKeySetAt(int index)
Parameters
index int
Returns
- KeySet
IsKeySetOverridden(int)
public bool IsKeySetOverridden(int index)
Parameters
index int
Returns
- bool
OverrideKeySet(int, KeySet)
public void OverrideKeySet(int index, KeySet keySet)
Parameters
index int
keySet KeySet
Reset()
ResetKeySet(int)
public void ResetKeySet(int index)
Parameters
index int
Save()