WoW API: GetMerchantItemCostItem

Revision as of 13:50, 28 January 2007 by WoWWiki>WoWWiki-Bosco (Added function)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

WoW API < GetMerchantItemCostItem


Returns cost info for Marks of Honor required to purchase an item Template:Code/Begin itemTexture, itemValue = GetMerchantItemCostItem(index, itemIndex) Template:Code/End


Parameters

Arguments

index
Number - The index of the item in the merchant's inventory
itemIndex
Number - The index for the required item type


Returns

itemTexture
String - The texture that represents the item's icon
itemValue
Number - The number of that item required

Details

itemIndex should never be larger than the itemCount returned by GetMerchantItemCostInfo