benilla-re systems structs docs

CallIfNameHasPrefix

function · client

Address
0x4014f0 · 42 bytes, up to 0x401519
Meaning
Calls a callback for a name beginning with a prefix, ignoring case, and answers 1 otherwise
Confidence
verified, proof two
Finding
ui/addons#finding-add-ons

Finding: Finding add-ons in ui: add-ons

The glue's DefaultServerLogin resets the registry and scans Interface\AddOns\ twice. First, every name in the mounted archives' (listfile)s that begins with that prefix and ends in .toc registers the folder name before its first separator, in listfile order. Then every loose subfolder not beginning with . registers its name, in the order the file system lists them. A name already registered, ignoring case, is skipped, and a folder without a readable <Name>\<Name>.toc registers nothing. Records join the list at its head, so a walk from its tail visits them in registration order.

The derivation is in the doc.

Callers 0

None by a direct call or jump.

Callees 1

Calls and jumps by a bare address, from tables/calls.tsv.