Refactor API functions to improve parameter aliasing and enhance documentation clarity
This commit is contained in:
@@ -1,15 +1,9 @@
|
||||
---@diagnostic disable: missing-return, lowercase-global
|
||||
---@meta
|
||||
|
||||
---@param slot 6
|
||||
---@param 1
|
||||
---@param 2
|
||||
---@param 3
|
||||
---@param 4
|
||||
---@param 5
|
||||
---@param 6
|
||||
---@return number start
|
||||
---@return number duration
|
||||
---@return boolean runeReady
|
||||
---@param slot runeSlot
|
||||
---@return number start
|
||||
---@return number duration
|
||||
---@return boolean runeReady
|
||||
---Returns cooldown information about one of the player's rune resources. Note the placement of runes 3-4 (normally Unholy) and 5-6 (normally Frost) are reversed in the default UI. Also note the behavior of returned values differs slightly from most other GetXYZCooldown-style functions.
|
||||
function GetRuneCooldown(slot, 1, 2, 3, 4, 5, 6) end
|
||||
function GetRuneCooldown(slot) end
|
||||
|
||||
Reference in New Issue
Block a user