Navigation menu

WoW:API SaveBindings: Difference between revisions

Jump to navigation Jump to search
m
Move page script moved page API SaveBindings to WoW:API SaveBindings without leaving a redirect
No edit summary
m (Move page script moved page API SaveBindings to WoW:API SaveBindings without leaving a redirect)
 
(4 intermediate revisions by 4 users not shown)
Line 1: Line 1:
<center>'''SaveBindings'''</center>
{{wowapi}}
 
Writes the current in-memory key bindings to disk and fires an [[Events U (UI, Unit, Update, Use)#UPDATE_BINDINGS|UPDATE_BINDINGS]] event when finished.  The file it writes to is WTF\Account\ACCOUNTNAME\bindings-cache.wtf.
Writes the current in-memory key bindings to disk and fires an [[Events U (UI, Unit, Update, Use)#UPDATE_BINDINGS|UPDATE_BINDINGS]] event when finished.  The file it writes to is WTF\Account\ACCOUNTNAME\bindings-cache.wtf.


----
SaveBindings(which)
;''Arguments''
 
:(no arguments)
 
----
;''Returns''


:(does not return anything)
==Parameters==
===Arguments===
:(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:
;''Example''
:;;ACCOUNT_BINDINGS (1)
SaveBindings();
:;;CHARACTER_BINDINGS (2)


----
===Returns===
{{Template:WoW API}}
:Nothing.__NOTOC__
Anonymous user