Fandom

WoWWiki

API GetBuybackItemInfo

104,633pages on
this wiki
Add New Page
Talk0 Share

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.

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



Also on Fandom

Random Wiki