C_FriendList.GetNumFriends

From Warcraft Wiki
Jump to navigation Jump to 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.