WoW:API GetNumWhoResults: Difference between revisions
Jump to navigation
Jump to search
m (Move page script moved page API GetNumWhoResults to API GetNumWhoResults without leaving a redirect) |
No edit summary |
||
Line 1: | Line 1: | ||
{{wowapi}} __NOTOC__ | {{wowapi}} __NOTOC__ | ||
Get the number of entries resulting from your most recent /who query. | Get the number of entries resulting from your most recent /who query. | ||
numWhos, totalCount = GetNumWhoResults(); | numWhos, totalCount = GetNumWhoResults(); | ||
== Arguments == | == Arguments == | ||
:None | :None | ||
== Returns == | == Returns == | ||
Line 15: | Line 12: | ||
:;totalCount : Number - number of users matching the query | :;totalCount : Number - number of users matching the query | ||
:;numWhos : Number - number of entries actually returned | :;numWhos : Number - number of entries actually returned | ||
== Details == | == Details == | ||
: This function only returns the last /who query results after the "[[Events/W#WHO_LIST_UPDATE|WHO_LIST_UPDATE]]" event has fired. | : This function only returns the last /who query results after the "[[Events/W#WHO_LIST_UPDATE|WHO_LIST_UPDATE]]" event has fired. |
Latest revision as of 07:14, 15 August 2023
Get the number of entries resulting from your most recent /who query.
numWhos, totalCount = GetNumWhoResults();
Arguments[edit]
- None
Returns[edit]
- totalCount, numWhos
- totalCount
- Number - number of users matching the query
- numWhos
- Number - number of entries actually returned
Details[edit]
- This function only returns the last /who query results after the "WHO_LIST_UPDATE" event has fired.