#ifndef NETWORKCHAT_H #define NETWORKCHAT_H #include #include #include "Packet.h" namespace network { namespace packet { /** @author */ class Chat : public Packet { public: Chat( std::string& message, int clientID ); Chat( unsigned char* data, int clientID ); ~Chat(); inline unsigned int getSize() const; bool process(); unsigned int getMessageLength(){ return messageLength_; }; unsigned char *getMessage(); private: unsigned int messageLength_; int clientID_; }; } //namespace packet } //namespace network #endif