Files
wow_Meta/api/EditMacro.lua
2025-05-04 15:15:00 +02:00

11 lines
469 B
Lua

---@diagnostic disable: missing-return, lowercase-global
---@meta
---@param index number
---@param name string
---@param iconTexture string
---@param body string
---@return number newIndex
---Changes the name, icon, and/or body of a macro. After patch 4.3 then the numeric 'icon' argument has been replaced by 'iconTexture'. Furthermore, the function always prepend 'Interface\Icons' to the 'iconTexture' string.
function EditMacro(index, name, iconTexture, body) end