GetMerchantItemCostItem
functionguessedavailable in: camelot
Returns info for the currency cost for a merchant item.
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 | Slot in the merchant's inventory to query. |
itemIndex | number | The index for the required item cost type, ascending from 1 to itemCount returned by GetMerchantItemCostInfo. |
Returns
| # | name | type | description |
|---|---|---|---|
| 1 | itemTexture | string | The texture that represents the item's icon |
| 2 | itemValue | number | The number of that item required |
| 3 | itemLink | string? | An itemLink for the cost item, nil if a currency. |
| 4 | currencyName | string? | Name of the currency required, nil if an item. |
In wowlua's emulated client
guessedThe answer is worked out from Blizzard's documentation, its UI code and the function's name, and not checked against the client. what the statuses mean
sources
Description: warcraft.wiki.gg's API pages ↗, by its contributors, CC BY-SA 4.0 ↗.