// // Created by koncord on 06.03.16. // #include #include "PacketChatMessage.hpp" mwmp::PacketChatMessage::PacketChatMessage(RakNet::RakPeerInterface *peer) : PlayerPacket(peer) { packetID = ID_CHAT_MESSAGE; orderChannel = CHANNEL_SYSTEM; } void mwmp::PacketChatMessage::Packet(RakNet::BitStream *bs, bool send) { PlayerPacket::Packet(bs, send); RW(player->chatMessage, send); }