benilla-re systems structs docs

s_accountSavedVariablesFormat

global · ui

Address
0x8539d4 · 37 bytes, up to 0x8539f8
Type
char[37]
Meaning
Holds the format of the account 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.