Returns information about an item offered for trade by the player
See also Trade functions.
Signature:
name, texture, numItems, quality, isUsable, enchantment = GetTradePlayerItemInfo(index)
Arguments:
index- Index of an item slot on the player's side of the trade window (between 1 andMAX_TRADE_ITEMS) (number)
Returns:
name- Name of the item (string)texture- Path to an icon texture for the item (string)numItems- Number of stacked items in the slot (number)quality- Quality (rarity) level of the item (number, itemQuality)isUsable- 1 if the player character can use or equip the item; otherwise nil (1nil)enchantment- Name of the enchantment being applied to the item through trade; otherwise nil (string)