Skip to content
everloot

Lore archive · Warcraft Wiki, 2023 dump

API BNGetFriendGameAccountInfo

Last wiki revision 2022-09-20

Returns information about the specified toon of a RealID friend. hasFocus, characterName, client, realmName, realmID, faction, race, class, guild, zoneName, level, gameText, broadcastText, broadcastTime, canSoR, toonID, bnetIDAccount, isGameAFK, isGameBusy = BNGetFriendGameAccountInfo(friendIndex) = BNGetGameAccountInfo(bnetIDGameAccount) = BNGetGameAccountInfoByGUID(guid)

  • friendIndex: - Ranging from 1 to
  • bnetIDGameAccount: - A unique numeric identifier for the friend during this session.
  • guid:
  • hasFocus: - Whether or not this toon is the one currently being displayed in Blizzard's FriendFrame.
  • characterName: - The name of the logged in toon/character.
  • client: - Either "WoW" (BNET_CLIENT_WOW), "S2" (BNET_CLIENT_S2), "WTCG" (BNET_CLIENT_WTCG), "App" (BNET_CLIENT_APP), "Hero" (BNET_CLIENT_HEROES), "Pro" (BNET_CLIENT_OVERWATCH), "CLNT" (BNET_CLIENT_CLNT), or "D3" (BNET_CLIENT_D3) for World of Warcraft, StarCraft 2, Hearthstone, BNet Application, Heroes of the Storm, Overwatch, another client, or Diablo 3.
  • realmName: - The name of the logged in realm.
  • realmID: - The ID for the logged in realm.
  • faction: - The faction name (i.e., "Alliance" or "Horde").
  • race: - The localized race name (e.g., "Blood Elf").
  • class: - The localized class name (e.g., "Death Knight").
  • guild: - Seems to return "" even if the player is in a guild.
  • zoneName: - The localized zone name (e.g., "The Undercity").
  • level: - The current level (e.g., "90").
  • gameText: - For WoW, returns " - ". For StarCraft 2 and Diablo 3, returns the location or activity the player is currently engaged in.
  • broadcastText: - The Battle.Net broadcast message.
  • broadcastTime: - The number of seconds elapsed since the current broadcast message was sent.
  • canSoR: - Whether or not this friend can receive a Scroll of Resurrection.
  • toonID: - A unique numeric identifier for the friend's character during this session.
  • bnetIDAccount:
  • isGameAFK:
  • isGameBusy:

Source

https://warcraft.wiki.gg/wiki/API_BNGetFriendGameAccountInfo · retrieved 2023-11-13 · CC BY-SA 4.0

Converted from wikitext with templates, tables and images removed, so some sentences may be missing values.

This archive predates WoW: Forever. For collected gameplay facts see the Forever database. Search the archive.