Script::GetNumMacros
function · ui · orchestration
- Address
0x4f1710· 80 bytes, up to0x4f175f- Signature
int __fastcall (lua_State *L)- Meaning
- Implements the Lua function GetNumMacros
- Confidence
- verified, proof one
- Name from
- the community database (idb)
- Finding
- ui/macros#macro-functions
Finding: Macro functions in ui: macros
GetNumMacros returns the account count and the character count. GetMacroInfo(index) returns the name, the
icon path (the icon directory plus the basename; nil when there is no basename), the body and 1 or nil for the
local flag. A missing index returns four nils and a non-number raises a usage error. GetMacroIndexByName(name)
returns the position plus 1, or 0 for none. PickupMacro(index) puts the macro on the cursor
(ui/cursor#payload-pictures-by-kind); an unknown index does nothing. DeleteMacro(index) removes the macro, clears every
action slot that holds it and rebuilds the order. DeleteMacro does nothing when the kind 7 check fails (ui/luastate#the-context-word).
The derivation is in the doc.
Callers 0
None by a direct call or jump.
Callees 1
- lua_pushnumber lua
Calls and jumps by a bare address, from tables/calls.tsv.