Wowpedia
Advertisement
Info
Added in 1.0.0
Removed in 5.4.0

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

Advertisement