WoW:API GetNumWhoResults: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
No edit summary
No edit summary
 
(7 intermediate revisions by 7 users not shown)
Line 1: Line 1:
Returns the number of current entries on your Who-List.
{{wowapi}} __NOTOC__


{{template:WoW API}}
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 "[[Events/W#WHO_LIST_UPDATE|WHO_LIST_UPDATE]]" event has fired.

Latest revision as of 07:14, 15 August 2023

WoW API < GetNumWhoResults

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.