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:
Nay
2012-08-04 01:39:18 +01:00
parent 12307c7d06
commit 48db4b2b7d
6 changed files with 19 additions and 7 deletions
@@ -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