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

TODO(co) Comment me. More...

#include <RegisterHostRequest.h>

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

Public Member Functions

 RegisterHostRequest ()
 Default constructor. More...
const multiplayer::HostEntrygetHostEntry () const
void setHostEntry (const multiplayer::HostEntry &hostList)
const std::string & getGameModificationString () const
void setGameModificationString (const std::string &string)
virtual void serialize (qsf::BinarySerializer &serializer) override
 Method that implements the actual de/serialization. More...
- Public Member Functions inherited from qsf::packet::BinaryPacket< RegisterHostRequest >
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::RegisterHostRequest::RegisterHostRequest ( )

Default constructor.

Member Function Documentation

const std::string& em5::packet::RegisterHostRequest::getGameModificationString ( ) const
const multiplayer::HostEntry& em5::packet::RegisterHostRequest::getHostEntry ( ) const
virtual void em5::packet::RegisterHostRequest::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::RegisterHostRequest::setGameModificationString ( const std::string &  string)
void em5::packet::RegisterHostRequest::setHostEntry ( const multiplayer::HostEntry hostList)

Member Data Documentation

const uint32 em5::packet::RegisterHostRequest::PACKET_ID

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