C_MerchantFrame. GetItemInfo
functionimplementedavailable in: camelot
Returns info for a merchant item.
function C_MerchantFrame.GetItemInfo( index: number): MerchantItemInfo?Parameters
| name | type | description |
|---|---|---|
index | number | The index of the item in the merchant's inventory |
Returns
info · MerchantItemInfo?
| field | type | description |
|---|---|---|
name | string? | |
texture | number | |
price | number | Default: 0. |
stackCount | number | Default: 0. |
numAvailable | number | Default: 0. |
isPurchasable | boolean | Default: false. |
isUsable | boolean | Default: false. |
hasExtendedCost | boolean | Default: false. |
currencyID | number? | |
spellID | number? | |
isQuestStartItem | boolean | Default: false. |
Blizzard's documentation says it may return nothing.
In wowlua's emulated client
implementedwowlua models the system behind it. what the statuses mean
Restrictions
sources
Signature and flags: Blizzard's API documentation (Blizzard_APIDocumentationGenerated) (MerchantFrame system, camelot 1.60.1). Description: warcraft.wiki.gg's API pages ↗, by its contributors, CC BY-SA 4.0 ↗.