Script::ResetDisabledAddOns
function · ui · orchestration
- Address
0x48e830· 15 bytes, up to0x48e83e- Signature
int __fastcall (lua_State *L)- Meaning
- Reloads the current character's add-on enable state from its file
- Confidence
- verified, proof two
- Name from
- the community database (idb)
- Finding
- ui/addons#enable-state
Finding: Enable state in ui: add-ons
Each character on the realm has a node of add-on names with an enabled flag, read from
WTF\Account\<account>\<realm>\<character>\AddOns.txt or, when that is missing,
WTF\Account\<account>\AddOns.txt, whose use marks the node to be written. A line is Name: value;
a value of disabled, ignoring case, is 0 and anything else 1. A last line survives only when two
separators follow it, as CR LF does; one ending in a lone LF or CR is dropped. Writing rewrites each
changed node's file as Name: enabled or Name: disabled with CR LF. The glue's roster builds the
nodes, and the in-game ResetDisabledAddOns rereads the current character's. The glue's
SaveAddOns also writes.
The derivation is in the doc.
Callers 0
None by a direct call or jump.
Callees 2
Calls and jumps by a bare address, from tables/calls.tsv.