→ WoW API
Writes the current in-memory key bindings to disk.
SaveBindings(which) -- retail AttemptToSaveBindings(which) -- classic
- Number - 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)
- Bindings are stored in WTF\Account\ACCOUNTNAME\bindings-cache.wtf.
- WoW Classic changed the function name to AttemptToSaveBindings circa late June 2018 (possibly build 30901)