Skip to content
everloot

Lore archive · Warcraft Wiki, 2023 dump

API BNGetFriendInfo

Last wiki revision 2022-09-10

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)

  • friendIndex: - The index on the friends list for this RealID friend, ranging from 1 to
  • bnetAccountID: - A unique numeric identifier for this friend's battle.net account for the current session
  • 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:

Source

https://warcraft.wiki.gg/wiki/API_BNGetFriendInfo · 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.