v0.13.8

C_BattleNet.GetFriendAccountInfo

functionguessedavailable in: camelot

Returns information about a Battle.net friend account.

signaturewowlua
function C_BattleNet.GetFriendAccountInfo(    friendIndex: number,    wowAccountGUID: string?): BNetAccountInfo?

Parameters

nametypedescription
friendIndexnumberIndex ranging from 1 to BNGetNumFriends()
wowAccountGUIDstring?BNetAccount GUID

Returns

accountInfo · BNetAccountInfo?

BNetAccountInfo
fieldtype
bnetAccountIDnumber
accountNamestring
battleTagstring
isFriendboolean
isBattleTagFriendboolean
friendLevelBattleNetFriendLevel?
lastOnlineTimenumber
isAFKboolean
isDNDboolean
isFavoriteboolean
friendTagsBattleNetFriendTag[]
appearOfflineboolean
customMessagestring
customMessageTimenumber
notestring
rafLinkTypeRafLinkType
gameAccountInfoBNetGameAccountInfo

In wowlua's emulated client

guessedThe answer is worked out from Blizzard's documentation, its UI code and the function's name, and not checked against the client. what the statuses mean

Restrictions

sources

Signature and flags: Blizzard's API documentation (Blizzard_APIDocumentationGenerated) (BattleNet system, camelot 1.60.1). Description: warcraft.wiki.gg's API pages ↗, by its contributors, CC BY-SA 4.0 ↗.