Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/branches/ceguilua/src/network/packet/Chat.h @ 1952

Last change on this file since 1952 was 1763, checked in by rgrieder, 16 years ago

added svn:eol-style native to all the files that were missing it

  • Property svn:eol-style set to native
File size: 548 bytes
Line 
1
2#ifndef NETWORKCHAT_H
3#define NETWORKCHAT_H
4
5#include <string>
6
7#include "Packet.h"
8
9namespace network {
10namespace packet {
11/**
12        @author
13*/
14class Chat : public Packet
15{
16public:
17  Chat( std::string& message, int clientID );
18  Chat( unsigned char* data, int clientID );
19  ~Chat();
20 
21  inline unsigned int getSize() const;
22  bool process();
23 
24  unsigned int getMessageLength(){ return messageLength_; };
25  unsigned char *getMessage();
26private:
27  unsigned int messageLength_;
28  int clientID_;
29};
30
31} //namespace packet
32} //namespace network
33
34#endif
Note: See TracBrowser for help on using the repository browser.