Files
wow_Meta/api/QueryAuctionItems.lua
2025-05-04 15:15:00 +02:00

28 lines
1.2 KiB
Lua

---@diagnostic disable: missing-return, lowercase-global
---@meta
---@param name string
---@param minLevel number
---@param maxLevel number
---@param invTypeIndex number
---@param classIndex number
---@param subClassIndex number
---@param page number
---@param isUsable boolean
---@param minQuality itemQuality
---@param getAll boolean
---Requests data from the server for the list of auctions meeting given search criteria. If any search criterion is omitted or nil, the search will include all possible values for that criterion. Search queries are throttled, preventing abuse of the server by clients sending too many queries in short succession. Normal queries can be sent once every few seconds; mass queries return all results in the auction house instead of one "page" at a time, and can only be sent once every several minutes. Query results are not returned immediately: the AUCTION_ITEM_LIST_UPDATE event fires once data is available; listing information can then be retrieved using GetAuctionItemInfo() or other Auction APIs.
function QueryAuctionItems(
name,
minLevel,
maxLevel,
invTypeIndex,
classIndex,
subClassIndex,
page,
isUsable,
minQuality,
getAll
)
end