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,13 +1,11 @@
---@diagnostic disable: missing-return, lowercase-global
---@meta
---@param index 1 to NUM_PET_STABLE_SLOTS
---@param 0
---@param 1 to NUM_PET_STABLE_SLOTS
---@return string icon
---@return string name
---@return number level
---@return string family
---@return string talent
---@param index number
---@return string icon
---@return string name
---@return number level
---@return string family
---@return string talent
---Returns information about a stabled pet
function GetStablePetInfo(index, 0, 1 to NUM_PET_STABLE_SLOTS) end
function GetStablePetInfo(index) end