Refactor API functions to enhance parameter aliasing and improve documentation clarity

This commit is contained in:
2025-05-18 14:16:07 +02:00
parent bbb138c938
commit b595bc5573
11 changed files with 111 additions and 99 deletions

View File

@@ -1,13 +1,10 @@
---@diagnostic disable: missing-return, lowercase-global
---@meta
---@param minBid number
---@param buyoutPrice number
---@param runTime 3
---@param 1
---@param 2
---@param 3
---@param stackSize number
---@param numStacks number
---@param minBid number
---@param buyoutPrice number
---@param runTime auctionRunTime
---@param stackSize number
---@param numStacks number
---Creates an auction for the item currently in the "auction item" slot. Has no effect unless an item has been placed in the Create Auction UI's "auction item" slot (see ClickAuctionSellItemButton()). With patch 3.3.3 the runTime arg was changed from minutes to an index and the stackSize/numStacks args were added for batch posting.
function StartAuction(minBid, buyoutPrice, runTime, 1, 2, 3, stackSize, numStacks) end
function StartAuction(minBid, buyoutPrice, runTime, stackSize, numStacks) end