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

8 lines
542 B
Lua

---@diagnostic disable: missing-return, lowercase-global
---@meta
---@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