|
Orxonox
0.0.5 Codename: Arcturus
|
#include </home/jenkins/workspace/orxonox_doxygen_trunk/src/libraries/network/packet/Chat.h>
Public Member Functions | |
| Chat (const std::string &message, unsigned int sourceID, unsigned int targetID) | |
| Chat (uint8_t *data, unsigned int clientID) | |
| ~Chat () | |
| unsigned char * | getMessage () |
| unsigned int | getMessageLength () |
| virtual unsigned int | getSize () const override |
| virtual bool | process (orxonox::Host *host) override |
Public Member Functions inherited from orxonox::packet::Packet | |
| Packet (const Packet &p) | |
| virtual | ~Packet () |
| Destroys a packet completely. More... | |
| virtual unsigned char * | getData () |
| uint32_t | getFlags () |
| int | getPeerID () |
| uint32_t | getRequiredGamestateID () |
| bool | isReliable () |
| virtual bool | send (orxonox::Host *host) |
| Send the Packet. More... | |
| void | setPeerID (int id) |
Private Attributes | |
| unsigned int | clientID_ |
| uint32_t | messageLength_ |
Additional Inherited Members | |
Static Public Member Functions inherited from orxonox::packet::Packet | |
| static Packet * | createPacket (ENetPacket *packet, uint32_t peerID) |
| Given an ENetPacket, create an Orxonox packet. More... | |
| static void | deletePacket (ENetPacket *packet) |
| ENet calls this method whenever it wants to destroy a packet that contains data we allocated ourselves. More... | |
Protected Member Functions inherited from orxonox::packet::Packet | |
| Packet () | |
| Packet (uint8_t *data, unsigned int peerID) | |
| bool | isDataENetAllocated () const |
Protected Attributes inherited from orxonox::packet::Packet | |
| bool | bDataENetAllocated_ |
| Tells whether data_ was allocated by ENet or ourselves. More... | |
| uint8_t * | data_ |
| Pointer to the data. More... | |
| uint32_t | flags_ |
| Direction | packetDirection_ |
| unsigned int | peerID_ |
| uint32_t | requiredGamestateID_ |
| orxonox::packet::Chat::Chat | ( | const std::string & | message, |
| unsigned int | sourceID, | ||
| unsigned int | targetID | ||
| ) |
| orxonox::packet::Chat::Chat | ( | uint8_t * | data, |
| unsigned int | clientID | ||
| ) |
| orxonox::packet::Chat::~Chat | ( | ) |
| unsigned char * orxonox::packet::Chat::getMessage | ( | ) |
|
inline |
|
inlineoverridevirtual |
Implements orxonox::packet::Packet.
|
overridevirtual |
Implements orxonox::packet::Packet.
|
private |
|
private |
1.8.11