WoW:API BuyMerchantItem: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
(Buys the specified item)
 
mNo edit summary
Line 27: Line 27:
----
----
{{Template:WoW API}}
{{Template:WoW API}}
[[Category:API Functions|BuyMerchantItem]]
[[Category:API Merchant Functions|BuyMerchantItem]]

Revision as of 12:59, 27 August 2005

BuyMerchantItem -Documentation by Fenaoin-
BuyMerchantItem(index {, quantity});

Buys the specified item.


Arguments
(index {, quantity})
index
Number - The index of the item in the merchant's inventory
quantity
Number - Optional quantity to buy

Returns
nothing

Details
If the item is sold in stacks, the quantity specifies how many stacks will be bought.

Template:WoW API