WoW:API GetMerchantNumItems: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
mNo edit summary
m (Move page script moved page API GetMerchantNumItems to API GetMerchantNumItems without leaving a redirect)
 
(3 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<center>'''GetMerchantNumItems''' ''-Documentation by [[user:Fenaoin|Fenaoin]]-''</center>
{{wowapi}} __NOTOC__
 
Returns the number of items a merchant carries.
<!-- List return values and arguments as well as function name, follow Blizzard usage convention for args -->
  numItems = GetMerchantNumItems();
  numItems = GetMerchantNumItems();


<!-- Describe the purpose of the function, though exhausting detail can be saved for a later section -->
==Parameters==
Returns the number of items a merchant carries.
===Returns===
 
:;numItems : Number - the number of items the merchant carries.
----
;''Arguments''
 
<!-- List each argument, together with its type -->
: none
 
----
;''Returns''
 
<!-- List each return value, together with its type -->
:numItems
:;numItems : Number - the number of items the merchant carries


----
==Notes==
{{Template:WoW API}}
If you are not currently interacting with a merchant, the last known value is returned.
[[Category:API Functions|GetMerchantNumItems]]
[[Category:API Merchant Functions|GetMerchantNumItems]]

Latest revision as of 04:46, 15 August 2023

WoW API < GetMerchantNumItems

Returns the number of items a merchant carries.

numItems = GetMerchantNumItems();

Parameters

Returns

numItems
Number - the number of items the merchant carries.

Notes

If you are not currently interacting with a merchant, the last known value is returned.