Emergency 20 Dokumentation  4.2.0
em5::packet::RegisterHostResponse Class Reference

TODO(co) Comment me. More...

#include <RegisterHostResponse.h>

Inheritance diagram for em5::packet::RegisterHostResponse:
qsf::packet::BinaryPacket< RegisterHostResponse > qsf::packet::BinaryPacketBase

Public Member Functions

 RegisterHostResponse ()
 Default constructor. More...
multiplayer::RegisterHostStatus getStatus () const
void setStatus (multiplayer::RegisterHostStatus status)
virtual void serialize (qsf::BinarySerializer &serializer) override
 Method that implements the actual de/serialization. More...
- Public Member Functions inherited from qsf::packet::BinaryPacket< RegisterHostResponse >
virtual uint32 getPacketId () const override
 Returns the packet identifier that was specified as the template parameter. More...
- Public Member Functions inherited from qsf::packet::BinaryPacketBase
 BinaryPacketBase ()
 Default constructor. More...
virtual ~BinaryPacketBase ()
 Destructor. More...
void deserialize (const BinarySerializer &serializer)
 Deserializes the packet from the given qsf::BinarySerializer object. More...
void serialize (BinarySerializer &serializer) const
 Serializes the packet to the given qsf::BinarySerializer object. More...

Static Public Attributes

static const uint32 PACKET_ID

Detailed Description

TODO(co) Comment me.

Constructor & Destructor Documentation

em5::packet::RegisterHostResponse::RegisterHostResponse ( )

Default constructor.

Member Function Documentation

multiplayer::RegisterHostStatus em5::packet::RegisterHostResponse::getStatus ( ) const
virtual void em5::packet::RegisterHostResponse::serialize ( qsf::BinarySerializer serializer)

Method that implements the actual de/serialization.

[in]serializerThe serializer object that the packet should de/serialize from/to
  • Even though "this" is not const it is strictly prohibited to modify "this" if the serializer is in write mode

Reimplemented from qsf::packet::BinaryPacketBase.

void em5::packet::RegisterHostResponse::setStatus ( multiplayer::RegisterHostStatus  status)

Member Data Documentation

const uint32 em5::packet::RegisterHostResponse::PACKET_ID

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