GetMerchantNumItems

From Warcraft Wiki
Jump to navigation Jump to search
Flavors
Links
Info
Added in 1.0.0 / 1.13.2

Returns the number of different items a merchant sells.

numItems = GetMerchantNumItems()

Parameters

Returns

numItems
number - the number of items the merchant carries.

Details

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