v0.13.8

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

nametypedescription
indexnumberthe slot (1-7) to retrieve info from

Returns

#nametypedescription
1namestringName of the item
2texturestringName of the item's texture
3quantitynumberReturns how many is in the stack
4qualitynumberThe item's quality (0-6)
5isUsablenumberTrue if the player can use this item
6enchantstringenchant 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 ↗.