WoW:API GetTradeTargetItemInfo: Difference between revisions
Jump to navigation
Jump to search
GetTradeTargetItemInfo -Documentation by Weab-
No edit summary |
mNo edit summary |
||
Line 1: | Line 1: | ||
{{API | <center>'''GetTradeTargetItemInfo''' ''-Documentation by Weab-''</center> | ||
<!-- Describe the purpose of the function, exhausting detail can be saved for a later section --> | |||
Returns information about items in the target's trade window. | |||
<!-- List return values and arguments as well as function name, follow Blizzard usage convention for args --> | |||
name, texture, quantity, quality, ??, ?? = GetTradeTargetItemInfo(index) | |||
== Parameters == | |||
=== Arguments === | |||
<!-- List each argument, together with its type --> | |||
:(index) | |||
:;index : Numeric - the slot (1-7) to retrieve info from | |||
=== Returns === | |||
;''Returns'' | |||
<!-- List each return value, together with its type --> | |||
:name, texture, quantity, quality, ??, ?? | |||
:;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) | |||
:;?? : Numeric - Undetermined, usually returns nil or 1 | |||
:;?? : Undetermined, usually returns nil | |||
---- | |||
__NOTOC__ | |||
{{Template:WoW API}} |
Revision as of 11:36, 14 January 2006
Returns information about items in the target's trade window.
name, texture, quantity, quality, ??, ?? = GetTradeTargetItemInfo(index)
Parameters
Arguments
- (index)
- index
- Numeric - the slot (1-7) to retrieve info from
Returns
- Returns
- name, texture, quantity, quality, ??, ??
- 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)
- ??
- Numeric - Undetermined, usually returns nil or 1
- ??
- Undetermined, usually returns nil