Hobinbot@legacy41545296 (talk | contribs) (upgraded deprecated template) |
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> |
||
⚫ | |||
⚫ | |||
− | 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== |
||
⚫ | |||
⚫ | |||
− | |||
− | ==Parameters== |
||
− | ===Arguments=== |
||
− | |||
− | : (nothing) |
||
− | |||
⚫ | |||
− | :(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=== |
||
− | |||
⚫ |
Revision as of 03:10, 26 August 2021
Automated updating of API pages at this location, to reflect patch changes, has ceased from 10.1.7 onwards. |
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.