WoW:API GetCurrentBindingSet: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
(upgraded deprecated template)
mNo edit summary
Line 1: Line 1:
{{wowapi}}
{{wowapi}}
<center>'''GetCurrentBindingSet''' -Documentation by [[user:Lego|Lego]]-</center>


Queries if the current set of key bindings is account or character specific.
Queries if the current set of key bindings is account or character specific.

Revision as of 16:29, 4 December 2007

WoW API < GetCurrentBindingSet

Queries if the current set of key bindings is account or character specific.

which = GetCurrentBindingSet();

Parameters

Arguments

(nothing)

Returns

(Integer which)
which
Integer - Can be the values 1 or 2. This value indicates whether the currently active key bindings set is account or character specific. One of following constants should be used when examining the return value:
ACCOUNT_BINDINGS (1)
CHARACTER_BINDINGS (2)

Notes

The return value of this function depends on the last call to SaveBindings.