WoW:API GetNumAuctionItems: Difference between revisions
Jump to navigation
Jump to search
GetNumAuctionItems -Documentation by taka-
No edit summary |
(upgraded deprecated template) |
||
Line 1: | Line 1: | ||
{{wowapi}} | |||
<center>'''GetNumAuctionItems''' ''-Documentation by taka-''</center> | <center>'''GetNumAuctionItems''' ''-Documentation by taka-''</center> | ||
Line 23: | Line 24: | ||
;''Example'' | ;''Example'' | ||
numBatchAuctions, totalAuctions = GetNumAuctionItems("bidder"); | numBatchAuctions, totalAuctions = GetNumAuctionItems("bidder"); | ||
Revision as of 18:03, 6 January 2007
← 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, seems to be MIN(NUM_AUCTION_ITEMS_PER_PAGE,count)
- count
- The number of items.
- Example
numBatchAuctions, totalAuctions = GetNumAuctionItems("bidder");