Wowpedia
Advertisement
Game Flavors
Links
Patch
Added in 8.1.0 / 1.13.2

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 / API (2018-12-11): Moved to C_FriendList. The former alias GetNumFriends() is deprecated.
Advertisement