Main Menu |
---|
→ API Overview
Returns information about a Battle.net friend account.
Arguments
Www Battlenet Com Wow Addons
GetAccountInfoByID
- id
- number - This is the same ID as the
bnetAccountID
return field. - wowAccountGUID
- string?
- Creators of the Warcraft, Diablo, StarCraft, and Overwatch series, Blizzard Entertainment is an industry-leading developer responsible for the most epic entertainment experiences, ever.
- Your one stop shop into the world of Blizzard. Buy digital Games, In-Game Items, Balance and more for all your favorite Activision Blizzard franchises including World of Warcraft, Overwatch, Hearthstone, Diablo, Starcraft, Heroes of the Storm, Call of Duty.
Includes access to World of Warcraft and WoW Classic Join millions of players and enter a world of myth, magic, and endless adventure. 1password 6 6 1 download free. With a single game time purchase, you can access both World of Warcraft and World of Warcraft Classic. Mac movie editor. Seo site checkup.
GetAccountInfoByGUID
- guid
- string : UnitGUID
GetFriendAccountInfo
- friendIndex
- number - Index ranging from 1 to BNGetNumFriends()
- wowAccountGUID
- string?
Returns
- accountInfo
- BNetAccountInfo?
Key | Type | Description |
---|---|---|
bnetAccountID | number | Unique numeric identifier for the friend's Battle.net account during this session |
accountName | string | A protected string representing the friend's full name or BattleTag name |
battleTag | string | The friend's BattleTag (e.g., 'Nickname#0001') |
isFriend | boolean | |
isBattleTagFriend | boolean | Whether or not the friend is known by their BattleTag |
lastOnlineTime | number | 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 | boolean | Whether or not the friend is flagged as Away |
isDND | boolean | Whether or not the friend is flagged as Busy |
isFavorite | boolean | Whether or not the friend is marked as a favorite by you |
appearOffline | boolean | |
customMessage | string | The Battle.net broadcast message |
customMessageTime | number | The number of seconds elapsed since the current broadcast message was sent |
note | string | The contents of the player's note about this friend |
rafLinkType | Enum.RafLinkType | Enum.RafLinkType |
gameAccountInfo | BNetGameAccountInfo |
Key | Type | Description |
---|---|---|
gameAccountID | number? | Unique numeric identifier for the friend's Battle.net game account |
clientProgram | string | globalstring BNET_CLIENT |
isOnline | boolean | |
isGameBusy | boolean | |
isGameAFK | boolean | |
wowProjectID | number? | |
characterName | string? | The name of the logged in toon/character |
realmName | string? | The name of the logged in realm |
realmDisplayName | string? | |
realmID | number? | The ID for the logged in realm |
factionName | string? | The englishFaction name (i.e., 'Alliance' or 'Horde') |
raceName | string? | The localized race name (e.g., 'Blood Elf') |
className | string? | The localized class name (e.g., 'Death Knight') |
areaName | string? | The localized zone name (e.g., 'The Undercity') |
characterLevel | number? | The current level (e.g., '90') |
richPresence | string? | For WoW, returns 'zoneName - realmName'. For StarCraft 2 and Diablo 3, returns the location or activity the player is currently engaged in. |
playerGuid | string? | A unique numeric identifier for the friend's character during this session. |
isWowMobile | boolean | |
canSummon | boolean | |
hasFocus | boolean | Whether or not this toon is the one currently being displayed in Blizzard's FriendFrame |
GlobalString | Value | Description |
---|---|---|
BNET_CLIENT_WOW | WoW | World of Warcraft |
BNET_CLIENT_SC2 | S2 | StarCraft 2 |
BNET_CLIENT_D3 | D3 | Diablo 3 |
BNET_CLIENT_WTCG | WTCG | Hearthstone |
BNET_CLIENT_APP | App | Battle.net Desktop App |
BSAp | Battle.net Mobile App | |
BNET_CLIENT_HEROES | Hero | Heroes of the Storm |
BNET_CLIENT_OVERWATCH | Pro | Overwatch |
BNET_CLIENT_CLNT | CLNT | |
BNET_CLIENT_SC | S1 | StarCraft: Remastered |
BNET_CLIENT_DESTINY2 | DST2 | Destiny 2 |
BNET_CLIENT_COD | VIPR | Call of Duty: Black Ops 4 |
BNET_CLIENT_COD_MW | ODIN | Call of Duty: Modern Warfare |
BNET_CLIENT_COD_MW2 | LAZR | Call of Duty: Modern Warfare 2 |
BNET_CLIENT_COD_BOCW | ZEUS | Call of Duty: Black Ops Cold War |
BNET_CLIENT_WC3 | W3 | Warcraft III: Reforged |
Wow Blizzard Twitter
Example
Shows your own account info.
Recording programs for pc. Shows your Battle.net friends' account information. School of rock script free.
Patch changes
GlobalString | Value | Description |
---|---|---|
BNET_CLIENT_WOW | WoW | World of Warcraft |
BNET_CLIENT_SC2 | S2 | StarCraft 2 |
BNET_CLIENT_D3 | D3 | Diablo 3 |
BNET_CLIENT_WTCG | WTCG | Hearthstone |
BNET_CLIENT_APP | App | Battle.net Desktop App |
BSAp | Battle.net Mobile App | |
BNET_CLIENT_HEROES | Hero | Heroes of the Storm |
BNET_CLIENT_OVERWATCH | Pro | Overwatch |
BNET_CLIENT_CLNT | CLNT | |
BNET_CLIENT_SC | S1 | StarCraft: Remastered |
BNET_CLIENT_DESTINY2 | DST2 | Destiny 2 |
BNET_CLIENT_COD | VIPR | Call of Duty: Black Ops 4 |
BNET_CLIENT_COD_MW | ODIN | Call of Duty: Modern Warfare |
BNET_CLIENT_COD_MW2 | LAZR | Call of Duty: Modern Warfare 2 |
BNET_CLIENT_COD_BOCW | ZEUS | Call of Duty: Black Ops Cold War |
BNET_CLIENT_WC3 | W3 | Warcraft III: Reforged |
Wow Blizzard Twitter
Example
Shows your own account info.
Recording programs for pc. Shows your Battle.net friends' account information. School of rock script free.
Patch changes
- Patch 8.2.5 (2019-09-24): Reworked and moved to
C_BattleNet.GetFriendAccountInfo()
andC_BattleNet.GetAccountInfoByID()
. The previous alias is deprecated. [1] - Patch 6.2.4 (2016-03-22): Replaced
presenceID
andpresenceName
withbnetIDAccount
andaccountName
. - Patch 5.0.4 (2012-08-28): Replaced
givenName
andsurname
withpresenceName
,battleTag
, andisBattleTagPresence
. - Patch 3.3.5 (2010-06-22): Added as BNGetFriendInfo() and BNGetFriendInfoByID()
Blizzard Download
External links
GetAccountInfoByID | GetAccountInfoByGUID | GetFriendAccountInfo |
---|---|---|
|
|
|
Battle Net App Windows 10
Retrieved from 'https://wow.gamepedia.com/API_C_BattleNet.GetAccountInfoByID?oldid=5934011'