GetTradeTargetItemInfo
functionimplementedavailable in: camelot
Returns item info for the other player in the trade window.
The client has this function, but Blizzard's documentation leaves it out, so its parameters and results aren't known.
Parameters
| name | type | description |
|---|---|---|
index | number | the slot (1-7) to retrieve info from |
Returns
| # | name | type | description |
|---|---|---|---|
| 1 | name | string | Name of the item |
| 2 | texture | string | Name of the item's texture |
| 3 | quantity | number | Returns how many is in the stack |
| 4 | quality | number | The item's quality (0-6) |
| 5 | isUsable | number | True if the player can use this item |
| 6 | enchant | string | enchant being applied (no trade slot) |
In wowlua's emulated client
implementedwowlua models the system behind it. what the statuses mean
sources
Description: warcraft.wiki.gg's API pages ↗, by its contributors, CC BY-SA 4.0 ↗.