Files
wow-weakauras/Meta/api/GetSpellCooldown.lua
2025-03-13 16:28:23 +01:00

15 lines
416 B
Lua

---@diagnostic disable: missing-return, lowercase-global
---@alias bookType
---| 'SPELL'
---| 'PET'
---@param index number
---@param bookType bookType
---@return number start
---@return number duration
---@return number enable
---Returns cooldown information about a spell in the spellbook
---@overload fun(name: string)
---@overload fun(id: number)
function GetSpellCooldown(index, bookType) end