Fandom

WoWWiki

API GetTradeTargetItemInfo

104,755pages on
this wiki
Add New Page
Talk0 Share
WoW API < GetTradeTargetItemInfo

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

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

Parameters Edit

Arguments Edit

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

Returns Edit

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)

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.