WoW:API GetTradeTargetItemInfo: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
No edit summary
(upgraded deprecated template)
Line 1: Line 1:
{{wowapi}}
<center>'''GetTradeTargetItemInfo''' ''-Documentation by Weab-''</center>
<center>'''GetTradeTargetItemInfo''' ''-Documentation by Weab-''</center>


Line 28: Line 29:
----
----
__NOTOC__
__NOTOC__
{{Template:WoW API}}

Revision as of 18:14, 6 January 2007

WoW API < GetTradeTargetItemInfo

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)