WoW:API CanSendAuctionQuery: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
No edit summary
m (Move page script moved page API CanSendAuctionQuery to API CanSendAuctionQuery without leaving a redirect)
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
{{wowapi}}
{{wowapi}}
Returns 1 if the auction house can be queried using [[API QueryAuctionItems|QueryAuctionItems]](), nil otherwise. The auction house cannot be queried for 4 seconds after a query is made.
 
Determine if a new auction house query can be sent (via [[API QueryAuctionItems|QueryAuctionItems]]())
 
canQuery,canQueryAll = CanSendAuctionQuery()
 
== Returns ==
 
;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 ==
 
The auction house cannot be queried for 4 seconds after a query is made.
 
Full ("getall") queries are only allowed once every ~15 minutes.

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.