mirror of
https://github.com/araxiaonline/TrinityCore.git
synced 2026-06-21 07:22:02 -04:00
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:
@@ -2279,6 +2279,8 @@ void WorldObject::BuildMonsterChat(WorldPacket* data, uint8 msgtype, char const*
|
||||
*data << (uint32)(strlen(text)+1);
|
||||
*data << text;
|
||||
*data << (uint8)0; // ChatTag
|
||||
*data << (float)0.0f; // added in 4.2.0, unk
|
||||
*data << (uint8)0; // added in 4.2.0, unk
|
||||
}
|
||||
|
||||
void Unit::BuildHeartBeatMsg(WorldPacket* data) const
|
||||
|
||||
Reference in New Issue
Block a user