WoW API: SaveBindings

Revision as of 04:47, 15 August 2023 by Move page script (talk | contribs) (Move page script moved page API SaveBindings to API SaveBindings without leaving a redirect)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

WoW API < SaveBindings

Writes the current in-memory key bindings to disk and fires an UPDATE_BINDINGS event when finished. The file it writes to is WTF\Account\ACCOUNTNAME\bindings-cache.wtf.

SaveBindings(which)

ParametersEdit

ArgumentsEdit

(Integer which)
which
Integer - Can be the values 1 or 2. This value indicates whether the current key bindings set should be saved as account or character specific. One of following constants should be used:
ACCOUNT_BINDINGS (1)
CHARACTER_BINDINGS (2)

ReturnsEdit

Nothing.