GetNumAddOns
function · ui · orchestration
- Address
0x51def0· 6 bytes, up to0x51def5- Signature
uint32_t __cdecl (void)- Meaning
- Returns the count of names in the sorted add-on array
- Confidence
- verified, proof two
- Finding
- ui/addons#the-order-lua-sees
Finding: The order Lua sees in ui: add-ons
Lua's add-on indexes run over a separate array of names, built when the realm server's add-on
reply arrives: every record not hidden by that reply, sorted by its Title ignoring case, the
folder name standing in for a missing title. The sort is the C runtime's qsort, which keeps no
order between equal titles. Until the reply arrives the count is 0. An index is truncated, reduced
by 1 and compared unsigned with the count.
The derivation is in the doc.
Callers 21
- FormatErrorLogHeader client
- Script::GetNumAddOns glue
- Script::GetAddOnInfo glue
- Script::LaunchAddOnURL glue
- Script::GetAddOnDependencies glue
- Script::GetAddOnEnableState glue
- Script::EnableAddOn glue
- Script::EnableAllAddOns glue
- Script::DisableAddOn glue
- Script::DisableAllAddOns glue
- Script::GetNumAddOnsInGame ui
- Script::GetAddOnInfoInGame ui
- Script::GetAddOnMetadata ui
- Script::GetAddOnDependenciesInGame ui
- Script::EnableAddOnInGame ui
- Script::EnableAllAddOnsInGame ui
- Script::DisableAddOnInGame ui
- Script::DisableAllAddOnsInGame ui
- Script::IsAddOnLoadOnDemand ui
- Script::IsAddOnLoaded ui
- Script::LoadAddOn ui
Callees 0
None by a direct call or jump.
Calls and jumps by a bare address, from tables/calls.tsv.