Files
wow_Meta/api/SortAuctionSetSort.lua
2024-12-16 13:13:08 +01:00

20 lines
1.0 KiB
Lua

---@diagnostic disable: missing-return, lowercase-global
---@param list owner
---@param bidder
---@param list
---@param owner
---@param sort bidder
---@param bid
---@param buyout
---@param duration
---@param level
---@param minbidbuyout
---@param name
---@param quality
---@param quantity
---@param seller owner
---@param status bidder
---@param reversed boolean
---Builds a list of sort criteria for auction listings. Has no effect until SortAuctionApplySort(type) is called; thus, this function can be called repeatedly to build a complex set of sort criteria. Sort criteria are applied server-side, affecting not only the order of items within one "page" of listings but the order in which items are collected into pages. Criteria are applied in the order set by this function; i.e. the last criterion set becomes the primary sort criterion (see example).
function SortAuctionSetSort(list, bidder, list, owner, sort, bid, buyout, duration, level, minbidbuyout, name, quality, quantity, seller, status, reversed) end