WoW:API GetNumWhoResults: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
(Revised for clarity and to match the current boilerplate. Moved comments to the talk page and added timestamps.)
m (Move page script moved page API GetNumWhoResults to API GetNumWhoResults without leaving a redirect)
(No difference)

Revision as of 04:46, 15 August 2023

WoW API < GetNumWhoResults


Get the number of entries resulting from your most recent /who query.

  numWhos, totalCount = GetNumWhoResults();


Arguments

None


Returns

totalCount, numWhos
totalCount
Number - number of users matching the query
numWhos
Number - number of entries actually returned


Details

This function only returns the last /who query results after the "WHO_LIST_UPDATE" event has fired.