API BNGetNumFriends

Returns the amount of (online) Battle.net friends.
 numBNetTotal, numBNetOnline, numBNetFavorite, numBNetFavoriteOnline = BNGetNumFriends()
==Returns==
:;numBNetTotal: - amount of Battle.net friends on the friends list
:;numBNetOnline: - online Battle.net friends
:;numBNetFavorite: - favorite battle.net friends
:;numBNetFavoriteOnline: - favorite online battle.net friends
==Example==
local total, online = BNGetNumFriends()
print("You have "..total.." Battle.net friends and "..online.." of them are online!")
==Patch changes==