WoW API: GetCurrentBindingSet

From AddOn Studio
Jump to navigation Jump to search
Reference 

WoW API < GetCurrentBindingSet

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

which = GetCurrentBindingSet();

Parameters[edit]

Arguments[edit]

(nothing)

Returns[edit]

(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[edit]

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