Orxonox
0.0.5 Codename: Arcturus
|
#include </home/jenkins/workspace/orxonox_doxygen_trunk/src/libraries/network/packet/Welcome.h>
Public Member Functions | |
Welcome (uint32_t clientID) | |
Welcome (uint8_t *data, uint32_t clientID) | |
virtual | ~Welcome () |
virtual uint8_t * | getData () override |
virtual unsigned int | getSize () const override |
virtual bool | process (orxonox::Host *host) override |
![]() | |
Packet (const Packet &p) | |
virtual | ~Packet () |
Destroys a packet completely. More... | |
uint32_t | getFlags () |
int | getPeerID () |
uint32_t | getRequiredGamestateID () |
bool | isReliable () |
virtual bool | send (orxonox::Host *host) |
Send the Packet. More... | |
void | setPeerID (int id) |
Additional Inherited Members | |
![]() | |
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... | |
![]() | |
Packet () | |
Packet (uint8_t *data, unsigned int peerID) | |
bool | isDataENetAllocated () const |
![]() | |
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::Welcome::Welcome | ( | uint32_t | clientID | ) |
orxonox::packet::Welcome::Welcome | ( | uint8_t * | data, |
uint32_t | clientID | ||
) |
|
virtual |
|
overridevirtual |
Reimplemented from orxonox::packet::Packet.
|
inlineoverridevirtual |
Implements orxonox::packet::Packet.
|
overridevirtual |
Implements orxonox::packet::Packet.