Emergency 20 Dokumentation  4.2.0
HostListRequest.h
Go to the documentation of this file.
1 // Copyright (C) 2012-2018 Promotion Software GmbH
2 
3 
4 //[-------------------------------------------------------]
5 //[ Header guard ]
6 //[-------------------------------------------------------]
7 #pragma once
8 
9 
10 //[-------------------------------------------------------]
11 //[ Includes ]
12 //[-------------------------------------------------------]
13 #include "em5/Export.h"
14 
16 
17 
18 //[-------------------------------------------------------]
19 //[ Namespace ]
20 //[-------------------------------------------------------]
21 namespace em5
22 {
23  namespace packet
24  {
25 
26  //[-------------------------------------------------------]
27  //[ Classes ]
28  //[-------------------------------------------------------]
34  {
35 
36 
37  //[-------------------------------------------------------]
38  //[ Public definitions ]
39  //[-------------------------------------------------------]
40  public:
41  static const uint32 PACKET_ID;
42 
43 
44  //[-------------------------------------------------------]
45  //[ Public methods ]
46  //[-------------------------------------------------------]
47  public:
53 
54  void setGameModificationString(const std::string& string);
55  const std::string& getGameModificationString() const;
56 
57 
58  //[--------------------------------------------------------]
59  //[ Public virtual em5::packet::SerializedPacket methods ]
60  //[--------------------------------------------------------]
61  public:
62  virtual void serialize(qsf::BinarySerializer& serializer) override;
63 
64 
65  //[-------------------------------------------------------]
66  //[ Private data ]
67  //[-------------------------------------------------------]
68  private:
69  std::string mGameModificationString;
70 
71 
72  };
73 
74 
75 //[-------------------------------------------------------]
76 //[ Namespace ]
77 //[-------------------------------------------------------]
78  } // packet
79 } // em5
Definition: ActionPriority.h:13
TODO(co) Comment me.
Definition: HostListRequest.h:33
static const uint32 PACKET_ID
Definition: HostListRequest.h:41
unsigned int uint32
Definition: PlatformTypes.h:181
#define EM5_API_EXPORT
Definition: Export.h:28
void serialize(BinarySerializer &serializer, BitFlagSet< STORAGE, ENUM > &bitFlagSet)
Definition: BitFlagSet.h:359
TODO(co) Comment me.
Definition: BinaryPacket.h:108
Binary serializer class.
Definition: BinarySerializer.h:35