Core/PacketIO: Fix and enable SMSG_MESSAGECHAT
TODO: - Send addon prefix in this packet when language is Addon - Cleanup uses of SMSG_MESSAGECHAT (17 different "handlers" for it is not okay) (long term) - Missing a CMSG_MESSAGECHAT_ADDON_x or two
This commit is contained in:
1 parent
12307c7d06
commit
48db4b2b7d
6 files changed
+19
-7
No files matched your search
@@ -801,6 +801,13 @@ void ChatHandler::FillMessageData(WorldPacket* data, WorldSession* session, uint
|
||||
*data << uint32(messageLength);
|
||||
*data << message;
|
||||
*data << uint8(0);
|
||||
|
||||
if (type == CHAT_MSG_RAID_BOSS_WHISPER || type == CHAT_MSG_RAID_BOSS_EMOTE)
|
||||
{
|
||||
*data << float(0.0f); // Added in 4.2.0, unk
|
||||
*data << uint8(0); // Added in 4.2.0, unk
|
||||
}
|
||||
|
||||
return;
|
||||
}
|
||||
default:
|
||||
|
||||
Reference in new issue
Block a user