~/forever/addon-api
Addon API
BNToastMixin:OnLeave()BNToastMixin:OnLoad()BNToastMixin:OnVariablesLoaded()BNToastMixin:RemoveToast(toastType, toastData)BNToastMixin:SetToastsEnabled(enabled)BNToastMixin:ShowToast()BNToastMixin:UpdateToastEvent(cvar, value)BN_BLOCK_FAILED_TOO_MANY: blockTypeBN_BLOCK_LIST_UPDATEDBN_CHAT_MSG_ADDON: prefix, text, channel, senderIDBN_CHAT_WHISPER_UNDELIVERABLE: senderIDBN_CONNECTED: suppressNotificationBN_CUSTOM_MESSAGE_CHANGED: id?BN_CUSTOM_MESSAGE_LOADEDBN_DISCONNECTED: result, suppressNotificationBN_FRIEND_ACCOUNT_OFFLINE: friendId, isCompanionAppBN_FRIEND_ACCOUNT_ONLINE: friendId, isCompanionAppBN_FRIEND_INFO_CHANGED: friendIndex?BN_FRIEND_INVITE_ADDED: accountIDBN_FRIEND_INVITE_LIST_INITIALIZED: listSizeBN_FRIEND_INVITE_REMOVEDBN_FRIEND_LIST_SIZE_CHANGED: accountID?BN_INFO_CHANGEDBN_REQUEST_FOF_SUCCEEDEDStructure BNetAccountInfoStructure BNetFriendInviteInfoStructure BNetGameAccountInfoBNetTimeAlertMixin:OnEvent(event, ...)BNetTimeAlertMixin:OnLoad()BNetTimeAlertMixin:OnUpdate(elapsed)BNetTimeAlertMixin:Start(time)BNet_GetBNetAccountName(accountInfo)BNet_GetBNetIDAccount(name)BNet_GetBNetIDAccountFromCharacterName(name)BNet_GetBattleTagComponents(battleTag)BNet_GetBattleTagSelf()BNet_GetBattlenetClientAtlas(client)BNet_GetBroadcastTextSelf()BNet_GetClientAtlas(atlasPrefix, clientName)BNet_GetClientEmbeddedAtlas(client, width, height, xOffset, yOffset)BNet_GetClientEmbeddedTexture(texture, fileWidth, fileHeight, width, height, xOffset, yOffset)BNet_GetFriendLevelRank(friendLevel)BNet_GetTruncatedBattleTag(battleTag)BNet_GetValidatedCharacterName(characterName, battleTag, client, clientTextureSize)BNet_GetValidatedCharacterNameWithClientEmbeddedAtlas(characterName, battleTag, client, texWidth, texHeight, texXOffset, texYOffset)BNet_GetValidatedCharacterNameWithClientEmbeddedTexture(characterName, battleTag, texture, fileWidth, fileHeight, texWidth, texHeight, texXOffset, texYOffset)BNet_IsFriendLevelEqualOrHigher(friendLevel, comparisonLevel)BONUS_ROLL_ACTIVATEBONUS_ROLL_DEACTIVATEBONUS_ROLL_FAILEDDocumented entries come from Blizzard's in-client API documentation, and UI code functions from its Lua files, mirrored per build. C functions that neither mentions aren't included, and UI code functions can be internal.