RegisterForSave
Jump to navigation
Jump to search
Links |
---|
Info |
Added in 1.0.0 |
This no longer exists on any flavor of the game. |
This is no longer a part of the World of Warcraft API.
|
This function is protected.
|
Registers a global with the specified name to be saved.
RegisterForSave("variable")
Arguments
- variable
- String - The name of the variable to save.
Details
- This function is only available to secure code, and will save the variable in the
WTF/Account/ACCOUNTNAME/SavedVariables.lua
file. - Addons must use the SavedVariables and SavedVariablesPerCharacter .toc fields to specify names of variables they want to save.
Patch changes
- Patch 5.4.0 (2013-09-10): Removed.
Categories:
- API functions/Noflavor
- API functions/Removed
- API functions/Protected