Lore archive · Warcraft Wiki, 2023 dump
API GetTradeTargetItemInfo
Last wiki revision 2022-08-03
Returns item info for the other player in the trade window. name, texture, quantity, quality, isUsable, enchant = GetTradeTargetItemInfo(index)
- index: - the slot (1-7) to retrieve info from
- name: - Name of the item
- texture: - Name of the item's texture
- quantity: - Returns how many is in the stack
- quality: - The item's quality (0-6)
- isUsable: - True if the player can use this item
- enchant: - enchant being applied (no trade slot)
Source
https://warcraft.wiki.gg/wiki/API_GetTradeTargetItemInfo · retrieved 2023-11-13 · CC BY-SA 4.0
Converted from wikitext with templates, tables and images removed, so some sentences may be missing values.
This archive predates WoW: Forever. For collected gameplay facts see the Forever database. Search the archive.