Initial commit

This commit is contained in:
2024-12-16 13:13:08 +01:00
commit c8d4f32d5d
3093 changed files with 18304 additions and 0 deletions

14
api/QueryAuctionItems.lua Normal file
View File

@@ -0,0 +1,14 @@
---@diagnostic disable: missing-return, lowercase-global
---@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