Wikia

WoWWiki

API GetNumAuctionItems

Talk0
101,351pages on
this wiki
Revision as of 16:28, December 4, 2007 by Pcj (Talk | contribs)

(diff) ←Older revision | Latest revision (diff) | Newer revision → (diff)
WoW API < GetNumAuctionItems

Retrieves the number of auction items of a certain type.

batch,count = GetNumAuctionItems("list");

Arguments
(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.

Returns
batch 
The size of the batch.
count 
The total number of items.

Example
numBatchAuctions, totalAuctions = GetNumAuctionItems("bidder");

Around Wikia's network

Random Wiki