API BNGetFriendInfo

Returns information about the specified RealID friend.
 bnetAccountID, accountName, battleTag, isBattleTagPresence, characterName, bnetIDGameAccount, client, isOnline, lastOnline, isAFK, isDND, messageText, noteText, isRIDFriend, messageTime, canSoR, isReferAFriend, canSummonFriend
 = BNGetFriendInfo(friendIndex)
 = BNGetFriendInfoByID(bnetAccountID)
==Arguments==
===BNGetFriendInfo===
:;friendIndex: - The index on the friends list for this RealID friend, ranging from 1 to ()
===BNGetFriendInfoByID===
:;bnetAccountID: - A unique numeric identifier for this friend's battle.net account for the current session
==Returns==
:;bnetAccountID: - A temporary ID for the friend's battle.net account during this session.
:;accountName: - An escape sequence (starting with |K) representing the friend's full name or BattleTag name.
:;battleTag: - A nickname and number that when combined, form a unique string that identifies the friend (e.g., "Nickname#0001").
:;isBattleTagPresence: - Whether or not the friend is known by their BattleTag.
:;characterName: - The name of the logged in character.
:;bnetIDGameAccount: - A unique numeric identifier for the friend's game account during this session.
:;client: - See BNET_CLIENT
:;isOnline: - Whether or not the friend is online.
:;lastOnline: - The number of seconds elapsed since this friend was last online (from the epoch date of January 1, 1970). Returns nil if currently online.
:;isAFK: - Whether or not the friend is flagged as Away.
:;isDND: - Whether or not the friend is flagged as Busy.
:;messageText: - The friend's Battle.Net broadcast message.
:;noteText: - The contents of the player's note about this friend.
:;isRIDFriend: - Returns true for RealID friends and false for BattleTag friends.
:;messageTime: - The number of seconds elapsed since the current broadcast message was sent.
:;canSoR: - Whether or not this friend can receive a Scroll of Resurrection.
:;isReferAFriend:
:;canSummonFriend:
==Details==
==Patch changes==
==See also==
* 
*