GetBuybackItemInfo

From Warcraft Wiki
Jump to navigation Jump to search
Flavors
Links
Info
Added in 1.0.0 / 1.13.2

Returns info for an item that can be bought back from a merchant.

name, icon, price, quantity = GetBuybackItemInfo(slotIndex)

Arguments

slotIndex
number - The index of a slot in the merchant's buyback inventory, between 1 and GetNumBuybackItems()

Returns

name
string - The name of the item.
icon
number (fileID) - Icon texture of the item.
price
number - The price, in copper, it will cost to buy the item(s) back.
quantity
number - The quantity of items in the stack.
numAvailable
number - The number available.
isUsable
boolean - True if the item is usable, false otherwise.

See Also

GetNumBuybackItems