BNSendGameData
Jump to navigation
Jump to search
Sends a hidden addon message to a Battle.net friend.
BNSendGameData(gameAccountID, prefix, text)
Arguments
- gameAccountID
- number - The game account ID of the friend during this session.
- prefix
- string - An addon messaging prefix previously registered with C_ChatInfo.RegisterAddonMessagePrefix.
- text
- string - The data to be sent. Limited to 4078 bytes or less.
Details
- Triggers the BN_CHAT_MSG_ADDON event on receipt of a message.
- Delivery of Battle.net messages must not be assumed be in the same order that they are sent. Out-of-order delivery can be observed somewhat infrequently if many messages are sent to another player.
Patch changes
Patch 5.4.7 (2014-02-18): Added.
See also
- BNSendWhisper(presenceID, message)
- BN_CHAT_MSG_ADDON