API BNSendGameData

From Wowpedia
Jump to: navigation, search

BNSendGameData is the battle.net chat-equivalent of SendAddonMessage().

BNSendGameData(presenceID, addonPrefix, message)

Arguments

presenceID
Number - A unique numeric identifier for the friend during this session. -- get it with BNGetFriendInfo()
addonPrefix
<=16 bytes, cannot include a colon
message
<=4078 bytes

On receive, will trigger event BN_CHAT_MSG_ADDON with arguments addonPrefix, message, "WHISPER", senderPresenceID

Patch changes

External links

See also