LoadAddOnByName
function · ui · primitive
- Address
0x51f240· 957 bytes, up to0x51f5fc- Signature
int __fastcall (const char *name, char demand, CStatus *status)- Meaning
- Loads an add-on with its dependencies, files, bindings and saved variables, then signals ADDON_LOADED
- Confidence
- verified, proof two
- Finding
- ui/addons#loading-an-add-on
Finding: Loading an add-on in ui: add-ons
0x51f240(name, demand, status) answers true at once for a loaded add-on. Otherwise, when the load
check passes, it marks the add-on loaded, loads its optional dependencies, then its required ones,
unmarking it and failing if one fails; runs its toc's files and its folder's Bindings.xml under
its context word (its name when insecure, 0 when secure) with an MD5 over them; runs its account
and then per-character saved variables; for a secure add-on quits with code 10 unless the MD5
matches its digest; signals ADDON_LOADED with its name; and then loads each add-on that declared
LoadWith it.
The derivation is in the doc.
Callers 2
Callees 19
- QuitWithCode client
- CStatus::~CStatus client
- CStatus::Prepend client
- InitEndLink484700 ui
- LoadBindingsXml ui
- CanLoadAddOn ui
- LinkOrEnd5219d0 ui
- GetRealmName net
- GetSelectedCharacterName net
- SFileExistsEx storm
- SStrCmpI storm
- SStrPrintf storm
- SStrHashHT storm
- MD5Init storm
- MD5Final storm
- GetFrameXMLDebug ui
- LoadTocFile ui
- FrameScript_SignalEvent2 ui
- FrameScriptExecuteFile ui
Calls and jumps by a bare address, from tables/calls.tsv.