WoW:API CanSendAuctionQuery: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
(Formatting. Add info about second return value. (canQueryAll))
m (Move page script moved page API CanSendAuctionQuery to API CanSendAuctionQuery without leaving a redirect)
 
(No difference)

Latest revision as of 04:45, 15 August 2023

WoW API < CanSendAuctionQuery

Determine if a new auction house query can be sent (via QueryAuctionItems())

canQuery,canQueryAll = CanSendAuctionQuery()

Returns[edit]

canQuery
boolean - True if a normal auction house query can be made
canQueryAll
boolean - True if a full ("getall") auction house query can be made (added in 2.3)

Notes[edit]

The auction house cannot be queried for 4 seconds after a query is made.

Full ("getall") queries are only allowed once every ~15 minutes.