API BNGetFriendToonInfo

Returns information about the specified toon of a RealID or BattleTag friend. hasFocus, characterName, client, realmName, realmID, faction, race, class, guild, zoneName, level, gameText, broadcastText, broadcastTime, canSoR, bnetIDGameAccount, presenceID, unknown, unknown, characterGUID, wowProjectID, wowClassicRealmName = BNGetFriendGameAccountInfo(friendIndex, accountIndex)

Arguments

 * : Number - The index on the friends list for this RealID friend.
 * : Number - The index of accounts for this RealID friend.

Returns

 * : Boolean - Whether or not this toon is the one currently being displayed in Blizzard's FriendFrame.
 * : String - The name of the logged in toon/character.
 * : String - From the list of "WoW" (BNET_CLIENT_WOW), "S2" (BNET_CLIENT_S2), "D3" (BNET_CLIENT_D3) or "HS" (BNET_CLIENT_WTCG) for World of Warcraft, StarCraft 2, Diablo 3 or Heartstone.
 * : String - The name of the logged in realm.
 * : Number - The ID for the logged in realm.
 * : String - The faction name (i.e., "Alliance" or "Horde").
 * : String - The localized race name (e.g., "Blood Elf").
 * : String - The localized class name (e.g., "Death Knight").
 * : String - Returns an empty string in all cases, guilded, same guild as querying character, unguilded, same server, or other server.
 * : String - The localized zone name (e.g., "The Undercity").
 * : String - The current level (e.g., "90").
 * : String - An XML/HTML-safe representation of the current location of the player (e.g. Val'Sharah - Earthen Ring but with the apostrophe represented in XML/HTML-safe code).
 * : String - The Battle.Net broadcast message.
 * : Number - The number of milliseconds elapsed since the current broadcast message was sent.
 * : Boolean - Whether or not this friend can receive a Scroll of Resurrection.
 * : Number - See discussion page (for descriptive, but not functional overlap with presenceID notes).
 * : Number - A unique numeric identifier for this friend's battle.net account for the current session.
 * : Boolean - Unknown purpose - see discussion page.
 * : Boolean - Unknown purpose - see discussion page.
 * : String - Character's GUID. Nil if character is not currently in WoW.
 * : Number - 1: Retail, 2: Classic
 * : String - The name of the logged in realm.