WoW:API GetCurrentBindingSet: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
No edit summary
 
m (Move page script moved page API GetCurrentBindingSet to API GetCurrentBindingSet without leaving a redirect)
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<center>'''GetCurrentBindingSet''' -Documentation by [[user:Lego|Lego]]-</center>
{{wowapi}}


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.
Line 19: Line 19:
===Notes===
===Notes===


The return value of this function depends on the last call to [[API SaveBindings|SaveBindings]].
The return value of this function depends on the last call to [[API SaveBindings|SaveBindings]].__NOTOC__
 
----
{{Template:WoW API}}
__NOTOC__

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.