WoW:API SaveBindings: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
No edit summary
(upgraded deprecated template)
Line 1: Line 1:
{{wowapi}}
<center>'''SaveBindings'''-Documentation partly by [[user:Lego|Lego]]-</center>
<center>'''SaveBindings'''-Documentation partly by [[user:Lego|Lego]]-</center>


Line 14: Line 15:


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

Revision as of 18:11, 6 January 2007

WoW API < SaveBindings

SaveBindings-Documentation partly by Lego-

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)

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:
ACCOUNT_BINDINGS (1)
CHARACTER_BINDINGS (2)

Returns

Nothing.