企业🤖AI智能体构建引擎,智能编排和调试,一键部署,支持私有化部署方案 广告
[Real ID](https://wow.gamepedia.com/Real_ID "Real ID")friends were added in[Patch 3.3.5](https://wow.gamepedia.com/Patch_3.3.5 "Patch 3.3.5"). [BNAcceptFriendInvite](https://wow.gamepedia.com/index.php?title=API_BNAcceptFriendInvite&action=edit&redlink=1 "API BNAcceptFriendInvite (page does not exist)")(ID) [BNCheckBattleTagInviteToGuildMember](https://wow.gamepedia.com/index.php?title=API_BNCheckBattleTagInviteToGuildMember&action=edit&redlink=1 "API BNCheckBattleTagInviteToGuildMember (page does not exist)")(fullname) [BNCheckBattleTagInviteToUnit](https://wow.gamepedia.com/index.php?title=API_BNCheckBattleTagInviteToUnit&action=edit&redlink=1 "API BNCheckBattleTagInviteToUnit (page does not exist)")(unit) [BNConnected](https://wow.gamepedia.com/API_BNConnected "API BNConnected")() - Returns whether your battle.net state is connected. [BNDeclineFriendInvite](https://wow.gamepedia.com/index.php?title=API_BNDeclineFriendInvite&action=edit&redlink=1 "API BNDeclineFriendInvite (page does not exist)")(ID) [BNFeaturesEnabledAndConnected](https://wow.gamepedia.com/index.php?title=API_BNFeaturesEnabledAndConnected&action=edit&redlink=1 "API BNFeaturesEnabledAndConnected (page does not exist)")() [BNFeaturesEnabled](https://wow.gamepedia.com/index.php?title=API_BNFeaturesEnabled&action=edit&redlink=1 "API BNFeaturesEnabled (page does not exist)")() [BNGetBlockedInfo](https://wow.gamepedia.com/index.php?title=API_BNGetBlockedInfo&action=edit&redlink=1 "API BNGetBlockedInfo (page does not exist)")(index) [BNGetDisplayName](https://wow.gamepedia.com/index.php?title=API_BNGetDisplayName&action=edit&redlink=1 "API BNGetDisplayName (page does not exist)")(bnetIdAccount) [BNGetFOFInfo](https://wow.gamepedia.com/API_BNGetFOFInfo "API BNGetFOFInfo")(presenceID, mutual, non-mutual, index) - Returns presenceID, givenName, surname, isFriend. [BNGetFriendGameAccountInfo](https://wow.gamepedia.com/API_BNGetFriendGameAccountInfo "API BNGetFriendGameAccountInfo")(bnetIDGameAccount) [BNGetFriendIndex](https://wow.gamepedia.com/API_BNGetFriendIndex "API BNGetFriendIndex")(presenceID) [BNGetFriendInfo](https://wow.gamepedia.com/API_BNGetFriendInfo "API BNGetFriendInfo")(friendIndex) - Returns presenceID, givenName, surname, character name, character ID, game client, connected, status, broadcast and note of the friend. [BNGetFriendInfoByID](https://wow.gamepedia.com/API_BNGetFriendInfoByID "API BNGetFriendInfoByID")(presenceID) - Returns presenceID, givenName, surname, character name, character ID, game client, connected, status, broadcast and note of the friend. [BNGetFriendInviteInfo](https://wow.gamepedia.com/index.php?title=API_BNGetFriendInviteInfo&action=edit&redlink=1 "API BNGetFriendInviteInfo (page does not exist)")(menuValue) - Returns presenceID, givenName, surname. [BNGetGameAccountInfoByGUID](https://wow.gamepedia.com/index.php?title=API_BNGetGameAccountInfoByGUID&action=edit&redlink=1 "API BNGetGameAccountInfoByGUID (page does not exist)")(GUID) [BNGetGameAccountInfo](https://wow.gamepedia.com/API_BNGetGameAccountInfo "API BNGetGameAccountInfo")(bnetIDGameAccount) [BNGetInfo](https://wow.gamepedia.com/API_BNGetInfo "API BNGetInfo")() - Returns presenceID, toonID, currentBroadcast, bnetAFK, bnetDND. [BNGetNumBlocked](https://wow.gamepedia.com/index.php?title=API_BNGetNumBlocked&action=edit&redlink=1 "API BNGetNumBlocked (page does not exist)")() [BNGetNumFOF](https://wow.gamepedia.com/index.php?title=API_BNGetNumFOF&action=edit&redlink=1 "API BNGetNumFOF (page does not exist)")(ID, mutual, non) [BNGetNumFriendGameAccounts](https://wow.gamepedia.com/API_BNGetNumFriendGameAccounts "API BNGetNumFriendGameAccounts")(friendIndex) [BNGetNumFriendInvites](https://wow.gamepedia.com/index.php?title=API_BNGetNumFriendInvites&action=edit&redlink=1 "API BNGetNumFriendInvites (page does not exist)")() [BNGetNumFriends](https://wow.gamepedia.com/API_BNGetNumFriends "API BNGetNumFriends")() - Returns numBNetTotal, numBNetOnline. [BNGetSelectedBlock](https://wow.gamepedia.com/index.php?title=API_BNGetSelectedBlock&action=edit&redlink=1 "API BNGetSelectedBlock (page does not exist)")() [BNGetSelectedFriend](https://wow.gamepedia.com/index.php?title=API_BNGetSelectedFriend&action=edit&redlink=1 "API BNGetSelectedFriend (page does not exist)")() [BNInviteFriend](https://wow.gamepedia.com/index.php?title=API_BNInviteFriend&action=edit&redlink=1 "API BNInviteFriend (page does not exist)")(bnetIDGameAccount) [BNIsBlocked](https://wow.gamepedia.com/index.php?title=API_BNIsBlocked&action=edit&redlink=1 "API BNIsBlocked (page does not exist)")(ID) [BNIsFriend](https://wow.gamepedia.com/index.php?title=API_BNIsFriend&action=edit&redlink=1 "API BNIsFriend (page does not exist)")(presenceID) [BNIsSelf](https://wow.gamepedia.com/index.php?title=API_BNIsSelf&action=edit&redlink=1 "API BNIsSelf (page does not exist)")(presenceID) - Returns true if the specified presenceID is your own, false otherwise. [BNRemoveFriend](https://wow.gamepedia.com/index.php?title=API_BNRemoveFriend&action=edit&redlink=1 "API BNRemoveFriend (page does not exist)")(ID) [BNRequestFOFInfo](https://wow.gamepedia.com/index.php?title=API_BNRequestFOFInfo&action=edit&redlink=1 "API BNRequestFOFInfo (page does not exist)")(bnetIDAccount) [BNRequestInviteFriend](https://wow.gamepedia.com/index.php?title=API_BNRequestInviteFriend&action=edit&redlink=1 "API BNRequestInviteFriend (page does not exist)")(presenceID, \[tank\], \[heal\], \[dps\]) [BNSendFriendInviteByID](https://wow.gamepedia.com/index.php?title=API_BNSendFriendInviteByID&action=edit&redlink=1 "API BNSendFriendInviteByID (page does not exist)")(ID, noteText) [BNSendFriendInvite](https://wow.gamepedia.com/index.php?title=API_BNSendFriendInvite&action=edit&redlink=1 "API BNSendFriendInvite (page does not exist)")(text, noteText) [BNSendGameData](https://wow.gamepedia.com/API_BNSendGameData "API BNSendGameData")(id, addonPrefix, text) - BNet equivalent of SendAddonMessage. [BNSendSoR](https://wow.gamepedia.com/index.php?title=API_BNSendSoR&action=edit&redlink=1 "API BNSendSoR (page does not exist)")(target, comment) [BNSendVerifiedBattleTagInvite](https://wow.gamepedia.com/index.php?title=API_BNSendVerifiedBattleTagInvite&action=edit&redlink=1 "API BNSendVerifiedBattleTagInvite (page does not exist)")() - Unit should have been set with[BNCheckBattleTagInviteToUnit](https://wow.gamepedia.com/index.php?title=API_BNCheckBattleTagInviteToUnit&action=edit&redlink=1 "API BNCheckBattleTagInviteToUnit (page does not exist)")or[BNCheckBattleTagInviteToGuildMember](https://wow.gamepedia.com/index.php?title=API_BNCheckBattleTagInviteToGuildMember&action=edit&redlink=1 "API BNCheckBattleTagInviteToGuildMember (page does not exist)"). [BNSendWhisper](https://wow.gamepedia.com/API_BNSendWhisper "API BNSendWhisper")(id, text) [BNSetAFK](https://wow.gamepedia.com/API_BNSetAFK "API BNSetAFK")(bool) - Set or unset afk status. [BNSetBlocked](https://wow.gamepedia.com/index.php?title=API_BNSetBlocked&action=edit&redlink=1 "API BNSetBlocked (page does not exist)")(ID, bool) [BNSetCustomMessage](https://wow.gamepedia.com/API_BNSetCustomMessage "API BNSetCustomMessage")(text) [BNSetDND](https://wow.gamepedia.com/API_BNSetDND "API BNSetDND")(bool) - Set or unset dnd status. [BNSetFriendFavoriteFlag](https://wow.gamepedia.com/API_BNSetFriendFavoriteFlag "API BNSetFriendFavoriteFlag")(id, isFavorite) - Set a battle.net friend as favorite. [BNSetFriendNote](https://wow.gamepedia.com/API_BNSetFriendNote "API BNSetFriendNote")(ID, noteText) [BNSetSelectedBlock](https://wow.gamepedia.com/index.php?title=API_BNSetSelectedBlock&action=edit&redlink=1 "API BNSetSelectedBlock (page does not exist)")(index) [BNSetSelectedFriend](https://wow.gamepedia.com/index.php?title=API_BNSetSelectedFriend&action=edit&redlink=1 "API BNSetSelectedFriend (page does not exist)")(index) [BNSummonFriendByIndex](https://wow.gamepedia.com/index.php?title=API_BNSummonFriendByIndex&action=edit&redlink=1 "API BNSummonFriendByIndex (page does not exist)")(id) [BNTokenFindName](https://wow.gamepedia.com/index.php?title=API_BNTokenFindName&action=edit&redlink=1 "API BNTokenFindName (page does not exist)")(target) [GetAutoCompletePresenceID](https://wow.gamepedia.com/index.php?title=API_GetAutoCompletePresenceID&action=edit&redlink=1 "API GetAutoCompletePresenceID (page does not exist)")(name) [IsBNLogin](https://wow.gamepedia.com/index.php?title=API_IsBNLogin&action=edit&redlink=1 "API IsBNLogin (page does not exist)")()