v0.13.8

GetBindingAction

functionimplementedavailable in: camelot

Returns the binding name for a key (combination).

The client has this function, but Blizzard's documentation leaves it out, so its parameters and results aren't known.

Parameters

nametypedescription
bindingstringThe name of the key (eg. "BUTTON1", "1", "CTRL-G")
checkOverrideboolean?if true, override bindings will be checked, otherwise, only default (bindings.xml/SetBinding) bindings are consulted.

Returns

action · string · action command performed by the binding. If no action is bound to the key, an empty string is returned.

In wowlua's emulated client

implementedwowlua models the system behind it. what the statuses mean

sources

Description: warcraft.wiki.gg's API pages ↗, by its contributors, CC BY-SA 4.0 ↗.