API C_FriendList.GetNumFriends

From Wowpedia
Jump to: navigation, search

Returns how many friends you have.

numFriends = C_FriendList.GetNumFriends()

Returns

numFriends 
Number - the number of friends you have (max 100).

Patch changes

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

See also