WoW:API GetCurrentBindingSet: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
(upgraded deprecated template)
m (Move page script moved page API GetCurrentBindingSet to API GetCurrentBindingSet without leaving a redirect)
 
(One intermediate revision by one other user not shown)
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.

Latest revision as of 04:45, 15 August 2023

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.