GetTradePlayerItemInfo

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

Returns information about a trade item.

name, texture, numItems, quality, enchantment, canLoseTransmog = GetTradePlayerItemInfo(id)

Arguments

id
number - The trade slot index to query.

Returns

name
string - The name of the item.
texture
number : FileDataID - The icon associated with the item.
numItems
number - For stackable items, the number of items in the stack.
quality
Enum.ItemQuality🔗 - The quality of the item.
enchantment
string - The name of any applied enchantment.
canLoseTransmog
boolean - true if trading this item will cause the player to lose the ability to transmogrify its appearance.