BNSendGameData

From Warcraft Wiki
Jump to navigation Jump to search
GitHub Octocat.png  Townlong-Yak Globe.png  Townlong-Yak BAD.png  Blizz.gif  ProfIcons engineering.png C_BattleNet.SendGameData 12.0.0 (63854) + 12.0.0
AllowedWhenUntainted
GitHub Octocat.png  Townlong-Yak Globe.png  Wowprogramming.png BNSendGameData 11.2.7 (63853)5.5.2 (63832)1.15.8 (63829) + 5.4.7 / 1.13.2

World of Warcraft API

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

See also

References