Code format

This commit is contained in:
2025-05-04 14:32:03 +02:00
parent c0337ef97f
commit 93b45ac12e
3012 changed files with 8372 additions and 9301 deletions

View File

@@ -1,8 +1,8 @@
---@diagnostic disable: missing-return, lowercase-global
---@param index number
---@param name string
---@param item string
---@param target unitid
---@param index number
---@param name string
---@param item string
---@param target unitid
---Changes the item used for dynamic feedback for a macro. Normally a macro uses the item or spell specified by its commands to provide dynamic feedback when placed on an action button (through the Action APIs, e.g. IsActionUsable()): e.g. if the macro uses a consumable item, the button will show the number of items remaining; if the macro uses an item with a cooldown, the button will show the state of the cooldown. This function allows overriding the item or spell used by the macro with another item -- the given item's state will be used for such feedback instead of the item or spell used by the macro.
function SetMacroItem(index, name, item, target) end
function SetMacroItem(index, name, item, target) end