C_BattleNet. GetFriendGameAccountInfo
functionguessedavailable in: camelot
Returns information on the game the Battle.net friend is playing.
function C_BattleNet.GetFriendGameAccountInfo( friendIndex: number, accountIndex: number): BNetGameAccountInfo?Parameters
| name | type | description |
|---|---|---|
friendIndex | number | Index ranging from 1 to BNGetNumFriends() |
accountIndex | number | Index ranging from 1 to C_BattleNet.GetFriendNumGameAccounts() |
Returns
gameAccountInfo · BNetGameAccountInfo?
| field | type |
|---|---|
gameAccountID | number |
clientProgram | string |
isOnline | boolean |
isGameBusy | boolean |
isGameAFK | boolean |
isAppearOffline | boolean |
wowProjectID | number? |
characterName | string? |
realmName | string? |
realmDisplayName | string? |
realmID | number? |
factionName | string? |
raceName | string? |
classID | number? |
className | string? |
classFilename | string? |
areaName | string? |
characterLevel | number? |
richPresence | string? |
playerGuid | string? |
canSummon | boolean |
hasFocus | boolean |
regionID | number |
isInCurrentRegion | boolean |
timerunningSeasonID | number? |
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 ↗.