WoW:API GetMerchantItemMaxStack: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
(Added GetMerchantItemMaxStack based on the FrameXML code.)
 
No edit summary
Line 12: Line 12:
== Returns ==
== Returns ==
:;maxStack : Number - The maximum stack size for the item.
:;maxStack : Number - The maximum stack size for the item.
== Note ==
This does not seem to work as of patch 2.3 (always returns 1). Try GetItemInfo() instead.

Revision as of 19:34, 1 December 2007

WoW API < GetMerchantItemMaxStack


Gets the maximum stack size for an item from the active merchant.

maxStack = GetMerchantItemMaxStack(index)


Arguments

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


Returns

maxStack
Number - The maximum stack size for the item.


Note

This does not seem to work as of patch 2.3 (always returns 1). Try GetItemInfo() instead.