Wowpedia

We have moved to Warcraft Wiki. Click here for information and the new URL.

READ MORE

Wowpedia
(upgraded deprecated template)
DDCBot (talk | contribs)
m (→‎Returns: .apilink)
Tag: WoW API docs
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
{{wowapi}}
 
{{wowapi}}
  +
Returns whether account- or character-specific bindings are active.
<center>'''GetCurrentBindingSet''' -Documentation by [[user:Lego|Lego]]-</center>
 
 
which = GetCurrentBindingSet()
   
 
==Returns==
Queries if the current set of key bindings is account or character specific.
 
  +
;which : <span class="apitype">number</span> - One of the following values:
  +
:;ACCOUNT_BINDINGS = 1 : indicates that account-wide bindings are currently active.
  +
:;CHARACTER_BINDINGS = 2 : indicates that per-character bindings are currently active.
   
  +
==Details==
which = GetCurrentBindingSet();
 
 
* The return value of this function depends on the last call to {{api|SaveBindings}}.
 
==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 [[API SaveBindings|SaveBindings]].__NOTOC__
 

Revision as of 03:10, 26 August 2021

Returns whether account- or character-specific bindings are active.

which = GetCurrentBindingSet()

Returns

which
number - One of the following values:
ACCOUNT_BINDINGS = 1
indicates that account-wide bindings are currently active.
CHARACTER_BINDINGS = 2
indicates that per-character bindings are currently active.

Details

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