orxonox::packet::Chat Class Reference

#include <src/network/packet/Chat.h>

Inheritance diagram for orxonox::packet::Chat:

orxonox::packet::Packet

List of all members.

Public Member Functions

 Chat (uint8_t *data, unsigned int clientID)
 Chat (const std::string &message, unsigned int playerID)
unsigned char * getMessage ()
unsigned int getMessageLength ()
unsigned int getSize () const
bool process ()
 ~Chat ()

Private Attributes

unsigned int clientID_
uint32_t messageLength_


Detailed Description

Author:

Constructor & Destructor Documentation

orxonox::packet::Chat::Chat ( const std::string message,
unsigned int  playerID 
)

orxonox::packet::Chat::Chat ( uint8_t *  data,
unsigned int  clientID 
)

References _MESSAGELENGTH, and messageLength_.

orxonox::packet::Chat::~Chat (  ) 


Member Function Documentation

unsigned char * orxonox::packet::Chat::getMessage (  ) 

unsigned int orxonox::packet::Chat::getMessageLength (  )  [inline]

unsigned int orxonox::packet::Chat::getSize (  )  const [inline, virtual]

Implements orxonox::packet::Packet.

References _MESSAGE, and messageLength_.

Referenced by Chat().

bool orxonox::packet::Chat::process (  )  [virtual]


Member Data Documentation

unsigned int orxonox::packet::Chat::clientID_ [private]

Reimplemented from orxonox::packet::Packet.

Referenced by Chat(), and getSize().


The documentation for this class was generated from the following files:

Generated on Tue Jul 28 16:23:22 2009 for Orxonox by  doxygen 1.5.6