Jump to content
Toggle menu
  • 17.3K articles
  • 8.2K files
  • 5 users
  • 280.7K edits
WoW Classic Wiki
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

API GetTradeTargetItemInfo

From WoW Classic Wiki
GetTradeTargetItemInfo -Documentation by Weab-

Returns information about items in the target's trade window.

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

Parameters

Arguments

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

Returns

Returns
name, texture, quantity, quality, isUsable, enchant
name
String - Name of the item
texture
String - Name of the item's texture
quantity
Numeric - Returns how many is in the stack
quality
Numeric - The item's quality (0-6)
?isUsable
Numeric - 1 if the player can use this item, nil otherwise
enchant
String - enchant being applied (no trade slot)

Template:WoW API