s_legacyCharacterSavedVariablesFormat
global · ui
- Address
0x853980· 40 bytes, up to0x8539a7- Type
char[40]- Meaning
- Holds the format of the realm-less character saved variables path
- Confidence
- verified, proof two
- Finding
- ui/savedvariables#saved-variables-read
Finding: Saved variables, read in ui: saved variables
An add-on's account file WTF\Account\<account>\SavedVariables\<Name>.lua and then its character
file WTF\Account\<account>\<realm>\<character>\SavedVariables\<Name>.lua, or the realm-less
WTF\Account\<account>\<character>\SavedVariables\<Name>.lua when that is missing, run as Lua
after the add-on's own files and before its ADDON_LOADED, so their values replace what the files
set. They run in the shared state under the add-on's context word, and an error in one goes to the
error handler with nothing logged. The flat WTF\Account\<account>\SavedVariables.lua is not run:
each line name = value sets a string, from a quoted value, nil for an empty one, or a number
read as a single-precision float; other lines are ignored. VARIABLES_LOADED follows, file or not.
The derivation is in the doc.