wowpedia
Main Menu


Returns the number of game accounts for the Battle.net friend.

numGameAccounts = C_BattleNet.GetFriendNumGameAccounts(friendIndex)

Arguments

friendIndex
number - The Battle.net friend's index on the friends list ranging from 1 to BNGetNumFriends()

Returns

numGameAccounts
number - The number of accounts or 0 if friend is not online.

Details

Patch changes

Battle for Azeroth Patch 8.2.5 (2019-09-24): Changed to C_BattleNet.GetFriendNumGameAccounts()
Warlords of Draenor Patch 6.2.4 (2016-03-22): Changed to BNGetNumFriendGameAccounts()
Wrath-Logo-Small Patch 3.3.3 (2010-03-23): Added as BNGetNumFriendToons()