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,8 +1,6 @@
---@diagnostic disable: missing-return, lowercase-global
---@meta
---@param index 1 to NUM_PET_STABLE_SLOTS
---@param 0
---@param 1 to NUM_PET_STABLE_SLOTS
---@param index number #0 for active pet otherwise 1 to NUM_PET_STABLE_SLOTS
---Puts a pet from the stables onto the cursor. Use with ClickStablePet to move pets between stabled and active status.
function PickupStablePet(index, 0, 1 to NUM_PET_STABLE_SLOTS) end
function PickupStablePet(index) end