API BNGetNumFriendGameAccounts

From Wowpedia
Jump to: navigation, search

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

numGameAccounts = BNGetNumFriendGameAccounts(friendIndex)

Arguments

friendIndex
Integer - The Battle.net friend's index on the friendslist

Returns

numGameAccounts 
Integer - 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

  • Warlords of Draenor Patch 6.2.4 (2016-03-22): Name changed from BNGetNumFriendToons.