Thursday, August 14, 2014

5.4.7 Changes to Battle.net® chat

We want to give User Interface Add-On authors a heads up about a change in upcoming patch 5.4.7 (release date: TBD).

In patch 5.4.7, BattleTag™ or Real ID friends will only be able to send 10 chat messages every 10 seconds over Battle.net® chat. We’re adding a new way for User Interface Add-Ons to send buy wow gold communications information via a new send function and receive event.

Send function:

    BNSendGameData (presenceID, addonPrefix, message)
    Prefix must be <= 16 bytes and cannot include a colon.
    The message should be <= 4078 bytes. This is 4095 bytes minus the 16 byte prefix and an added colon separator.


Receive event:

    BN_CHAT_MSG_ADDON - prefix, text, “WHISPER”, senderToonID


In addition, User Interface http://www.euwowgold.com/ Add-Ons are now also able to send and receive friend invites with a note.

Send event: BNSendFriendInvite(<BattleTag™/account name>,<optional note>)
Receive event to see the note text: BNGetFriendInviteInfoByAddon(<index>)

Edit: Updated total maximum message size to 4095 bytes (up from 255 bytes) in an upcoming PTR build.
Edit 2: Added information for BNSendFriendInvite.

No comments:

Post a Comment