Automated updating of API pages at this location, to reflect patch changes, has ceased from 10.1.7 onwards. |
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.