Open main menu
Home
Random
Log in
Settings
About AddOn Studio
Disclaimers
AddOn Studio
Search
Editing
WoW:API GetMerchantItemCostInfo
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
{{wowapi}} itemCount = GetMerchantItemCostInfo(index); == Parameters == <big>'''Arguments'''</big> <!-- List each argument, together with its type --> :;index : Number - The index of the item in the merchant's inventory <big>'''Returns'''</big> <!-- List each return value, together with its type --> :;itemCount: Number - The count of item types ([[Mark of Honor|Marks of Honor]], emblems, badges, tokens, etc) required ==Details== <!-- Details not appropriate for the main description can go here. REMOVE the section if you're just going to restate the intro line! --> : 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 [[API GetMerchantItemCostItem|GetMerchantItemCostItem]] function. <br> {{AlsoSee|[[API GetMerchantItemInfo|GetMerchantItemInfo]], [[API GetMerchantItemCostItem|GetMerchantItemCostItem]]}}
Summary:
Please note that all contributions to AddOn Studio are considered to be released under the Creative Commons Attribution-NonCommercial-ShareAlike (see
AddOn Studio Wiki:Copyrights
for details).
Submissions must be written by you, or copied from a public domain or similar free resource (see
AddOn Studio Wiki:Copyrights
for details).
Cancel
Editing help
(opens in new window)
Templates used on this page:
Template:AlsoSee
(
edit
)
Template:Apinav
(
edit
)
Template:Editlink
(
edit
)
Template:Tocright
(
edit
)
Template:Wowapi
(
edit
)