Hi Gamepedia users and contributors! Please complete this survey to help us learn how to better meet your needs in the future. We have one for editors and readers. This should only take about 7 minutes!

API C_BattleNet.GetFriendNumGameAccounts

From Wowpedia
Jump to: navigation, search

Returns the Battle.net friend's number of toons.

numGameAccounts = C_BattleNet.GetFriendNumGameAccounts(friendIndex)

Arguments

friendIndex 
number - The Battle.net friend's index on the friends list

Returns

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

Details

This function returns the number of ACCOUNTS a player has that are identified with a given battletag ID rather than the number of characters on a given account.

Patch changes

See also