WoW:API GetBuybackItemInfo: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
(upgraded deprecated template)
m (Remove singature made using ~ in main namespace)
Line 42: Line 42:


----
----
--[[User:Enatrak|Enatrak]] 09:45, 6 May 2005 (EDT)

Revision as of 06:16, 10 February 2007

WoW API < GetBuybackItemInfo

Get info on an item sold to a merchant.



name,texture,price,quantity = GetBuybackItemInfo(index);




Arguments


(index)
index
Number - The index of the item in the merchant's buyback inventory. The item to buyback in the Merchant tab is the last item in the Buyback tab.



Returns


(name)
name
String - the name of the item


(texture)
texture
String - the directory/filename of the texture used for the item


(price)
price
Number - the price to buy the item back


(quantity)
quantity
Number - the quantity of items in the stack