WoW:API GetAuctionItemInfo
Jump to navigation
Jump to search
Retrieves info about one item in the current retrieved list of items from the Auction House.
name, texture, ... = GetAuctionItemInfo("list", index);
- Arguments
- (String target, Number index)
- target
- The target to retrieve info from - always "list", as far as I know
- index
- The index of the item in the list to retrieve info from (normally 1-50, inclusive)
- Returns
- name
- a string containing the name of the item
- texture
- a string containing the name of the texture of the item
- count
- a number containing the number of items in the auction item
- quality
- an index into the ITEM_QUALITY_COLORS array
- canUse
- a boolean, true if the user can use the item, false if not
- level
- a number referring to the level required to use the item
- minBid
- the starting bid price
- minIncrement
- the minimum amount of item at which to put the next bid
- buyoutPrice
- zero if no buy out, otherwise it contains the buyout price of the auction item
- bidAmount
- the current highest bid, zero if no one has bid yet
- highBidder
- a boolean that is true if the current user is the highest bidder, otherwise false
- owner
- the person that has laid the highest bid so far (I think)
- Example
name, texture, count, quality, canUse, level, minBid, minIncrement, buyoutPrice, bidAmount, highBidder, owner = GetAuctionItemInfo("owner", offset + i);
- Result
Retrieves info about an item in the current list of auction items. Affects nothing other than the return values.
- Description
- Retrieves info about an item in the current list of auction items.