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
@@ -20051,7 +20051,7 @@ inline void Player::BuildPlayerChat(WorldPacket* data, uint8 msgtype, const std:
|
||||
*data << uint8(msgtype);
|
||||
*data << uint32(language);
|
||||
*data << uint64(GetGUID());
|
||||
*data << uint32(language); //language 2.1.0 ?
|
||||
*data << uint32(0); // constant unknown time
|
||||
*data << uint64(GetGUID());
|
||||
*data << uint32(text.length() + 1);
|
||||
*data << text;
|
||||
|
||||
Reference in new issue
Block a user