WoW:API LoadBindings: Difference between revisions
Jump to navigation
Jump to search
LoadBindings -Documentation by Lego-
No edit summary |
m (small mispelling) |
||
Line 10: | Line 10: | ||
:(Integer which) | :(Integer which) | ||
:;which : Integer - Takes the values 0, 1 or 2. Indicates whether to load the default, account or character specific key bindings. One of the following | :;which : Integer - Takes the values 0, 1 or 2. Indicates whether to load the default, account or character specific key bindings. One of the following constants should be used: | ||
:;;DEFAULT_BINDINGS (0) | :;;DEFAULT_BINDINGS (0) | ||
:;;ACCOUNT_BINDINGS (1) | :;;ACCOUNT_BINDINGS (1) |
Revision as of 20:55, 29 March 2006
Loads into memory whatever key bindings are currently stored on disk, or the default key bindings, and fires an UPDATE_BINDINGS event when finished. The file it reads from is WTF\Account\ACCOUNTNAME\bindings-cache.wtf.
LoadBindings(which);
Parameters
Arguments
- (Integer which)
- which
- Integer - Takes the values 0, 1 or 2. Indicates whether to load the default, account or character specific key bindings. One of the following constants should be used:
- DEFAULT_BINDINGS (0)
- ACCOUNT_BINDINGS (1)
- CHARACTER_BINDINGS (2)
Returns
- (nothing)