SaveBindings

From Warcraft Wiki
(Redirected from API AttemptToSaveBindings)
Jump to navigation Jump to search
Wowprogramming.png  BTNTemp.png SaveBindings TheWarWithin-Icon-Inline.pngDragonflight-Icon-Inline.pngCata-Logo-Small.pngWrath-Logo-Small.pngWoW Icon update.png + 1.0.0 / 1.15.0
BTNTemp.png AttemptToSaveBindings + 1.13.2

Saves account or character specific key bindings.

SaveBindings(which)

Arguments

which
number - Whether the key bindings should be saved as account or character specific.[1]
Value Constant Description
0 DEFAULT_BINDINGS
1 ACCOUNT_BINDINGS
2 CHARACTER_BINDINGS

Details

  • Bindings are stored in WTF\Account\ACCOUNTNAME\bindings-cache.wtf.
  • Triggers UPDATE_BINDINGS

Patch changes

Classic

Bc icon.gif Patch 2.5.1 (2021-05-18): Changed to SaveBindings()
WoW Icon update.png Patch 1.13.2 (2019-08-26): Added as AttemptToSaveBindings()

See also