GetTradeTargetItemInfo

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

Returns item info for the other player in the trade window.

name, texture, quantity, quality, isUsable, enchant = GetTradeTargetItemInfo(index)

Arguments

index
number - the slot (1-7) to retrieve info from

Returns

name
string - Name of the item
texture
string - Name of the item's texture
quantity
number - Returns how many is in the stack
quality
number - The item's quality (0-6)
isUsable
number - True if the player can use this item
enchant
string - enchant being applied (no trade slot)