C_BattleNet
namespaceavailable in: camelotStatus in wowlua
35 functions: 0 implemented, 2 recorded, 33 guessed.
Functions
| function | what it does | status |
|---|---|---|
AreFriendTagsEnabled | Whether tags for Battle.net friends are enabled. · by wowlua(): boolean | guessed |
AreHighResTexturesInstalled | Whether the high-resolution textures are installed. · by wowlua(): boolean | guessed |
AreRealIDFriendsEnabled | Whether Real ID friends are enabled for the account. · by wowlua(): boolean | guessed |
AreTitleFriendCustomNamesEnabled | Whether custom names for in-game friends are enabled. · by wowlua(): boolean | guessed |
AreTitleFriendsEnabled | Whether in-game friends of this game title are enabled. · by wowlua(): boolean | guessed |
BNCheckBattleTagInviteToRecentAlly | Checks whether a recent ally can be invited as a BattleTag friend. · by wowlua(recentAllyGUID: string) | guessed |
BNCheckTitleFriendInviteToUnit | Checks whether the unit can be invited as an in-game friend. · by wowlua(unit: string) | guessed |
CanToggleHighResTexturesWithoutClientReload | Whether the high-resolution textures can be turned on or off without reloading the client. · by wowlua(): boolean | guessed |
GetAccountInfoByGUID | Returns information about a Battle.net friend account.(guid: string): BNetAccountInfo? | guessed |
GetAccountInfoByID | Returns information about a Battle.net friend account.(id: number, wowAccountGUID: string?): BNetAccountInfo? | guessed |
GetCustomTitleFriendName | Returns the custom name given to an in-game friend, or nil. · by wowlua(id: number): string? | guessed |
GetFriendAccountInfo | Returns information about a Battle.net friend account.(friendIndex: number, wowAccountGUID: string?): BNetAccountInfo? | guessed |
GetFriendGameAccountInfo | Returns information on the game the Battle.net friend is playing.(friendIndex: number, accountIndex: number): BNetGameAccountInfo? | guessed |
GetFriendInviteInfo | Returns information about a pending Battle.net friend invite. · by wowlua(inviteIndex: number): BNetFriendInviteInfo? | guessed |
GetFriendLevelFromInviteText | Returns the Battle.net friend level that the given invite text corresponds to. · by wowlua(inviteText: string): BattleNetFriendLevel | guessed |
GetFriendNumGameAccounts | Returns the number of game accounts for the Battle.net friend.(friendIndex: number): number | guessed |
GetGameAccountInfoByGUID | Returns information about the Battle.net game account of the player with the given GUID. · by wowlua(guid: string): BNetGameAccountInfo? | guessed |
GetGameAccountInfoByID | Returns information about a Battle.net game account. · by wowlua(id: number): BNetGameAccountInfo? | guessed |
InstallHighResTextures | Installs the high-resolution textures. · by wowlua() | guessed |
InviteFriend | Invites a Battle.net friend's game account to the group. · by wowlua(gameAccountID: number) | guessed |
IsBattleNetFriendsListEnabled | Whether the Battle.net friends list is enabled. · by wowlua(): boolean | guessed |
IsBattleNetFriendsListSupported | Whether the Battle.net friends list is supported. · by wowlua(): boolean | recorded |
IsFriendTagSupportedForCurrentGameType | Whether the friend tag can be used in the current game type. · by wowlua(friendTag: BattleNetFriendTag): boolean | recorded |
SearchFriends | Searches the friends list and returns the IDs of the matching friends. · by wowlua(searchInfo: AuroraFriendsSearchInfo): number[] | guessed |
SendGameData | Sends an addon message to a Battle.net friend's game account and returns whether it was sent or why not. · by wowlua(gameAccountID: number, prefix: stringView, data: stringView): SendAddonMessageResult | guessed |
SendTitleFriendInviteByName | Sends an in-game friend invite to the named player. · by wowlua(name: string) | guessed |
SendVerifiedBattleNetFriendInvite | Sends the Battle.net friend invite that is waiting for confirmation. · by wowlua() | guessed |
SendWhisper | Sends a whisper to a Battle.net friend and returns whether it was sent. · by wowlua(bnetAccountID: number, text: stringView): boolean | guessed |
SetAFK | Sets or clears the player's away status on Battle.net. · by wowlua(isAFK: boolean) | guessed |
SetAppearOffline | Sets whether the player appears offline to Battle.net friends. · by wowlua(isAppearOffline: boolean) | guessed |
SetBlocked | Blocks or unblocks a Battle.net account. · by wowlua(bnetAccountID: number, block: boolean) | guessed |
SetCustomMessage | Sets the player's Battle.net status message and returns whether it was set. · by wowlua(text: string): boolean | guessed |
SetCustomTitleFriendName | Gives an in-game friend a custom name. · by wowlua(id: number, customName: string) | guessed |
SetDND | Sets or clears the player's busy (do not disturb) status on Battle.net. · by wowlua(isDND: boolean) | guessed |
SetFriendTags | Sets the tags of a Battle.net friend. · by wowlua(id: number, friendTags: BattleNetFriendTag[]) | guessed |
"by wowlua": no one documents this function, so wowlua wrote the description from its name, signature and behaviour.
Structures
AuroraFriendsSearchInfo· searchText, isOnline, isOffline, isDND, isAFK, isInQueue, isAvailableForQueue, tagsBNetAccountInfo· bnetAccountID, accountName, battleTag, isFriend, isBattleTagFriend, friendLevel?, lastOnlineTime, isAFK, isDND, isFavorite, friendTags, appearOffline, customMessage, customMessageTime, note, rafLinkType, gameAccountInfoBNetFriendInviteInfo· inviteID, accountName, creationTimestamp, friendLevel?BNetGameAccountInfo· gameAccountID, clientProgram, isOnline, isGameBusy, isGameAFK, isAppearOffline, wowProjectID?, characterName?, realmName?, realmDisplayName?, realmID?, factionName?, raceName?, classID?, className?, classFilename?, areaName?, characterLevel?, richPresence?, playerGuid?, canSummon, hasFocus, regionID, isInCurrentRegion, timerunningSeasonID?
sources
Signatures, events and structures: Blizzard's API documentation (Blizzard_APIDocumentationGenerated) (BattleNet system, camelot 1.60.1). Descriptions: warcraft.wiki.gg's API pages, by its contributors, CC BY-SA 4.0 ↗; written by wowlua where no documentation describes the entry.