Script::EditMacro
function · ui · primitive
- Address
0x4f18b0· 313 bytes, up to0x4f19e8- Signature
int __fastcall (lua_State *L)- Meaning
- Implements the Lua function EditMacro
- Confidence
- verified, proof one
- Name from
- the community database (idb)
- Finding
- ui/macros#editing-a-macro
Finding: Editing a macro in ui: macros
EditMacro(index, name, iconIndex, body, local) raises Usage: EditMacro(index, name, icon, body, local) unless argument 1 is a number or a numeric string (0x6f34d0), and does nothing without the kind 7 check. It maps the index to an
id and sets the fields that are given: a string name, a number icon index (an entry of the icon list), a string
body. It always replaces the local flag with the fifth argument, a script flag that is false when absent. The
bound spell is derived again and the macro's action slots are redrawn. It returns the macro's index; an index with no
macro also returns, with the position of the first empty entry plus 1.
The derivation is in the doc.
Callers 0
None by a direct call or jump.
Callees 13
- __ftol crt
- CheckActivePlayer ui
- BuildMacroIconList ui
- GetMacroIdByPosition ui
- GetMacroPositionById ui
- EditMacroRecord ui
- GetScriptFlagArg ui
- lua_isnumber lua
- lua_isstring lua
- lua_tonumber lua
- lua_tostring lua
- lua_pushnumber lua
- luaL_error lua
Calls and jumps by a bare address, from tables/calls.tsv.