Fandom

WoWWiki

API GetMerchantItemCostInfo

104,637pages on
this wiki
Add New Page
Talk0 Share

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.

WoW API < GetMerchantItemCostInfo
itemCount = GetMerchantItemCostInfo(index);

Parameters Edit

Arguments

index 
Number - The index of the item in the merchant's inventory

Returns

itemCount
Number - The count of item types (Marks of Honor, emblems, badges, tokens, etc) required


DetailsEdit

The itemCount is the number of different types of items required, not how many of those types. For example, the Scout's Tabard which requires 3 Arathi Basin Marks of Honor and 3 Warsong Gulch Marks of Honor would return a 2 for the item count. To find out how many of each item is required, use the GetMerchantItemCostItem function.


 

Icon-shortcutSee also: GetMerchantItemInfo, GetMerchantItemCostItem

Also on Fandom

Random Wiki