Refactor API functions to improve parameter aliasing and enhance documentation clarity

This commit is contained in:
2025-05-18 15:03:21 +02:00
parent b595bc5573
commit cbed6108ef
22 changed files with 165 additions and 170 deletions

View File

@@ -1,15 +1,11 @@
---@diagnostic disable: missing-return, lowercase-global
---@meta
---@param slot 4
---@param 1
---@param 2
---@param 3
---@param 4
---@return boolean haveTotem
---@return string name
---@return number startTime
---@return number duration
---@return string icon
---@param slot totemSlot
---@return boolean haveTotem
---@return string name
---@return number startTime
---@return number duration
---@return string icon
---Returns information on a currently active totem (or ghoul). Totem functions are also used for ghouls summoned by a Death Knight's Raise Dead ability (if the ghoul is not made a controllable pet by the Master of Ghouls talent), for druids' wild mushrooms, and Affliction Warlock's Soul Effigy.
function GetTotemInfo(slot, 1, 2, 3, 4) end
function GetTotemInfo(slot) end