Lore archive · Warcraft Wiki, 2023 dump
API GetNumAuctionItems
Last wiki revision 2023-01-28
Retrieves the number of auction items of a certain type. batch,count = GetNumAuctionItems(list)
- (string type)
- type:One of the following:
- "list" : Items up for auction, the "Browse" tab in the dialog.
- "bidder" : Items the player has bid on, the "Bids" tab in the dialog.
- "owner" : Items the player has up for auction, the "Auctions" tab in the dialog.
- batch:The size of the batch being viewed, 50 for a page view.
- count:The total number of items in the query.
For a GetAll query, the batch and count are the same.
- Bug seen in 4.0.1: If an AH has over 42554 items, batch will be retured as 42554, and count will be a seemingly random VERY HIGH number - ~1 billion has been seen.
numBatchAuctions, totalAuctions = GetNumAuctionItems("bidder");
Source
https://warcraft.wiki.gg/wiki/API_GetNumAuctionItems · retrieved 2023-11-13 · CC BY-SA 4.0
Converted from wikitext with templates, tables and images removed, so some sentences may be missing values.
This archive predates WoW: Forever. For collected gameplay facts see the Forever database. Search the archive.