GetBuybackItemInfo
functionimplementedavailable in: camelot
Returns info for an item that can be bought back from a merchant.
The client has this function, but Blizzard's documentation leaves it out, so its parameters and results aren't known.
Parameters
| name | type | description |
|---|---|---|
slotIndex | number | The index of a slot in the merchant's buyback inventory, between 1 and GetNumBuybackItems() |
Returns
| # | name | type | description |
|---|---|---|---|
| 1 | name | string? | The name of the item. |
| 2 | icon | number? | Icon texture of the item. |
| 3 | price | number | The price, in copper, it will cost to buy the item(s) back. |
| 4 | quantity | number | The quantity of items in the stack. |
| 5 | numAvailable | number | The number available. |
| 6 | isUsable | boolean | True if the item is usable, false otherwise. |
| 7 | isBound | boolean? |
In wowlua's emulated client
implementedwowlua models the system behind it. what the statuses mean
sources
Description: warcraft.wiki.gg's API pages ↗, by its contributors, CC BY-SA 4.0 ↗.