API C_FriendList.GetNumWhoResults

From Wowpedia
Jump to: navigation, search

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

numWhos, totalNumWhos = C_FriendList.GetNumWhoResults()

Returns

numWhos 
Number - number of users matching the query.
totalNumWhos 
Number - number of entries actually returned.

Details

  • Both return values never go over 50 and seem to match each other.

Patch changes

  • Battle for Azeroth Patch 8.1.0 (2018-12-11): Moved to C_FriendList. The former alias GetNumWhoResults is deprecated and will be removed in the following expansion.

See also