WoW:API GetTradeTargetItemInfo: Difference between revisions

no edit summary
mNo edit summary
No edit summary
Line 5: Line 5:


<!-- List return values and arguments as well as function name, follow Blizzard usage convention for args -->
<!-- List return values and arguments as well as function name, follow Blizzard usage convention for args -->
  name, texture, quantity, quality, ??, ?? = GetTradeTargetItemInfo(index)
  name, texture, quantity, quality, isUsable, enchant = GetTradeTargetItemInfo(index)


== Parameters ==
== Parameters ==
Line 17: Line 17:
;''Returns''
;''Returns''
<!-- List each return value, together with its type -->
<!-- List each return value, together with its type -->
:name, texture, quantity, quality, ??, ??
:name, texture, quantity, quality, isUsable, enchant


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


----
----
__NOTOC__
__NOTOC__
{{Template:WoW API}}
{{Template:WoW API}}
Anonymous user