BNSendGameData

From Wowpedia
Revision as of 05:12, 29 April 2020 by DungFu (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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
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

External links

See also