LoadFrameXMLFile
function · ui · primitive
- Address
0x6ede10· 1095 bytes, up to0x6ee256- Signature
int __fastcall (const char *path, void *md5, CStatus *status)- Meaning
- Collapses .. in a path and runs a .lua file or loads an XML file and its top-level elements
- Confidence
- verified, proof one
- Finding
- ui/framexml#loading-one-file
Finding: Loading one file in ui: loading the interface from toc and XML files
0x6ede10(path, md5, status) first collapses ..: while the path holds a .. with a separator on
both sides, it removes it with the directory before it; the first .. not so bounded stops the
collapse. Then a path whose text from its last . is .lua, in any case, runs as a Lua file;
anything else is read, hashed and parsed as XML, and its top-level elements are loaded. A Lua file
runs as the chunk @path; a missing one reports Error loading %s. A compile error is reported and
then passed to the error handler; a run-time error goes to the handler and is then reported.
The derivation is in the doc.
Callers 1
- LoadTocFile ui
Callees 22
- CStatus::~CStatus client
- CStatus::Prepend client
- CStatus::Add client
- SStrChrR storm
- SStrCmpI storm
- SStrCopy storm
- SStrPack storm
- SStrPrintf storm
- SStrStr2 storm
- SStrStr storm
- ReadXMLFile ui
- GetFrameXMLDebug ui
- CreateFrameFromXML ui
- RegisterXMLTemplate ui
- 0x6f2ac0 ui
- 0x6f2b00 ui
- GetXMLAttribute ui
- FrameScriptExecuteFile ui
- FrameScriptExecuteString ui
- LayoutPendingFrames ui
- FindOrCreateFontObject ui
- CFontObject::LoadXML ui
Calls and jumps by a bare address, from tables/calls.tsv.