GetFlatSavedVariablesPath
function · ui · orchestration
- Address
0x491580· 79 bytes, up to0x4915ce- Meaning
- Builds the account's SavedVariables.lua path, creating its folder
- 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.
Callers 2
Callees 5
- OsDirectoryExists os
- OsCreateDirectory os
- GetAccountName net
- SStrPack storm
- SStrPrintf storm
Calls and jumps by a bare address, from tables/calls.tsv.