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

TODO(co) Comment me. More...

#include <HostListRequest.h>

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

Public Member Functions

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

Default constructor.

Member Function Documentation

const std::string& em5::packet::HostListRequest::getGameModificationString ( ) const
virtual void em5::packet::HostListRequest::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::HostListRequest::setGameModificationString ( const std::string &  string)

Member Data Documentation

const uint32 em5::packet::HostListRequest::PACKET_ID

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