Script::EnableAllAddOnsInGame
function · ui · primitive
- Address
0x48e720· 56 bytes, up to0x48e757- Signature
int __fastcall (lua_State *L)- Meaning
- Sets every add-on enabled for the current character
- Confidence
- verified, proof two
- Finding
- ui/addons#reading-the-enable-state
Finding: Reading the enable state in ui: add-ons
0x51e470(addon, character, fallback) answers 2 enabled, 1 mixed or 0 disabled from the nodes it
considers: the named character's, or all for null. A node with an entry counts its flag. A node
without one counts only with fallback: then the add-on's state over all nodes counts as enabled
when it is 2, or when it is 1 and DefaultState is enabled. With nothing counted the answer is
DefaultState, 2 or 0; otherwise 0 when none is enabled, 2 when all are, else 1. Setting a state
creates or changes the entry and marks the node; the in-game EnableAddOn and DisableAddOn set 2
and 0 for the current character, and EnableAllAddOns and DisableAllAddOns for every add-on.
The derivation is in the doc.
Callers 0
None by a direct call or jump.
Callees 4
Calls and jumps by a bare address, from tables/calls.tsv.