Wowpedia
Advertisement
Game Flavors
Links
Patch
Added in 5.4.7 / 1.13.2

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 
string - <=16 bytes, cannot include a colon
message 
string - <=4078 bytes

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

Patch changes

See also

References

Advertisement