v0.13.8

C_KeyBindings

namespaceavailable in: camelot

Status in wowlua

11 functions: 1 implemented, 3 recorded, 7 guessed. 4 events, 3 of them fired by the emulator on its own.

Functions

functionwhat it doesstatus
ActivateBindingContextTurns on a key binding context. · by wowlua
(newContext: BindingContext)
guessed
DeactivateBindingContextTurns off a key binding context. · by wowlua
(context: BindingContext)
guessed
GetBindingByKeyReturns the command a key is bound to. · by wowlua
(action: string, context: BindingContext?): string
implemented
GetBindingContextForActionReturns the binding context a command belongs to. · by wowlua
(action: string): BindingContext?
guessed
GetBindingIndexReturns the index of a command in the key binding list. · by wowlua
(action: string): number?
recorded
GetCustomBindingTypeReturns the type of a custom binding.
(bindingIndex: number): CustomBindingType?
recorded
GetSearchTagsForActionReturns the search tags of a command in the key bindings list. · by wowlua
(action: string): string[]?
recorded
GetTurnStrafeStyleReturns whether the movement keys turn or strafe the character. · by wowlua
(): TurnStrafeStyle
guessed
IsBindingContextActiveWhether a key binding context is on. · by wowlua
(context: BindingContext): boolean
guessed
SetTurnStrafeStyleCan only set to Modern or Legacy.
(style: TurnStrafeStyle)
guessed
UpdateTurnStrafeBindingsForCharacterUpdates the character's movement key bindings to the chosen turn or strafe style. · by wowlua
()
guessed

"by wowlua": no one documents this function, so wowlua wrote the description from its name, signature and behaviour.

Events

eventpayloadfired by the emulator
BINDINGS_LOADEDno payloadimplemented
MODIFIER_STATE_CHANGEDkey: string, down: numberimplemented
NOTIFY_TURN_STRAFE_CHANGEno payloadnot implemented
UPDATE_BINDINGSno payloadimplemented

An event the emulator doesn't fire on its own can still be fired from a test: mock.fireEvent("NOTIFY_TURN_STRAFE_CHANGE").

sources

Signatures, events and structures: Blizzard's API documentation (Blizzard_APIDocumentationGenerated) (KeyBindings system, camelot 1.60.1). Descriptions: warcraft.wiki.gg's API pages, by its contributors, CC BY-SA 4.0 ↗; written by wowlua where no documentation describes the entry.