Script::GetNumMacroIcons
function · ui · orchestration
- Address
0x4f19f0· 64 bytes, up to0x4f1a2f- Signature
int __fastcall (lua_State *L)- Meaning
- Implements the Lua function GetNumMacroIcons
- Confidence
- verified, proof one
- Name from
- the community database (idb)
- Finding
- ui/macros#macro-icons
Finding: Macro icons in ui: macros
GetNumMacroIcons builds the list on first use and returns its size. GetMacroIconInfo(index) returns the
icon directory plus the stored basename for a 1-based index and the empty string, not nil, for an index outside
the list; it never builds. The list is the sorted, deduplicated (without case) union of the extension-stripped
names of: every (listfile) line of the patch archives and interface.MPQ that starts with Interface\Icons\
and whose name starts with Ability_ or Spell_ and ends .blp or .tga; the loose files of the base
path's Interface\Icons\ with the same name rule (a .bz suffix removed first); and the loose .blp and
.tga files of a working-directory Interface\Icons\, any name. The spell icon table is not a source.
The derivation is in the doc.
Callers 0
None by a direct call or jump.
Callees 2
- BuildMacroIconList ui
- lua_pushnumber lua
Calls and jumps by a bare address, from tables/calls.tsv.