Files
wow-weakauras/Meta/api/GetActionCount.lua
2024-11-07 23:12:37 +01:00

6 lines
539 B
Lua

---@diagnostic disable: missing-return, lowercase-global
---@param slot number
---@return number count
---Returns the number of uses remaining for the given action slot. Applies to spells that require reagents, items that stack, or items with charges; used in the default UI to display the count on action buttons. Returns 0 for any action that does not use a count. To distinguish between actions which do not use a count and actions which do but whose current count is 0, see IsConsumableAction.
function GetActionCount(slot) end