WoW:API GetMerchantNumItems: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
mNo edit summary
No edit summary
Line 5: Line 5:


<!-- Describe the purpose of the function, though exhausting detail can be saved for a later section -->
<!-- Describe the purpose of the function, though exhausting detail can be saved for a later section -->
Returns the number of items a merchant carries.
Returns the number of items a merchant carries.  If an invalid target is selected (for instance, a class trainer), 148 is returned, not 0.


----
----

Revision as of 11:09, 5 November 2005

GetMerchantNumItems -Documentation by Fenaoin-
numItems = GetMerchantNumItems();

Returns the number of items a merchant carries. If an invalid target is selected (for instance, a class trainer), 148 is returned, not 0.


Arguments
none

Returns
numItems
numItems
Number - the number of items the merchant carries

Template:WoW API