WoW:API BuyMerchantItem: Difference between revisions
Jump to navigation
Jump to search
m (cat) |
({{wowapi}}, format) |
||
Line 1: | Line 1: | ||
{{wowapi}} __NOTOC__ | |||
Buys the specified item. | |||
BuyMerchantItem(index {, quantity}); | BuyMerchantItem(index {, quantity}); | ||
==Parameters== | |||
===Arguments=== | |||
:;index : Number - The index of the item in the merchant's inventory | :;index : Number - The index of the item in the merchant's inventory | ||
:;quantity : Number - | :;quantity : Number (Optional) - Quantity to buy. | ||
==Notes== | |||
If the item is sold in stacks, the quantity specifies how many stacks will be bought. |
Revision as of 23:35, 23 December 2006
Buys the specified item.
BuyMerchantItem(index {, quantity});
Parameters
Arguments
- index
- Number - The index of the item in the merchant's inventory
- quantity
- Number (Optional) - Quantity to buy.
Notes
If the item is sold in stacks, the quantity specifies how many stacks will be bought.