WoW:API GetAuctionItemInfo: Difference between revisions
Jump to navigation
Jump to search
saleStatus return value added
(Note about zero count on sold auctions) |
(saleStatus return value added) |
||
| Line 3: | Line 3: | ||
name, texture, count, quality, canUse, level, | name, texture, count, quality, canUse, level, | ||
minBid, minIncrement, buyoutPrice, bidAmount, | minBid, minIncrement, buyoutPrice, bidAmount, | ||
highBidder, owner = GetAuctionItemInfo("type", index); | highBidder, owner, saleStatus = GetAuctionItemInfo("type", index); | ||
==Parameters== | ==Parameters== | ||
| Line 25: | Line 25: | ||
:;highBidder : a boolean that is true if the current player is the highest bidder, otherwise nil | :;highBidder : a boolean that is true if the current player is the highest bidder, otherwise nil | ||
:;owner : the player that is selling the item | :;owner : the player that is selling the item | ||
:;saleStatus : 1 for sold 0 for unsold | |||
==Example== | ==Example== | ||