Emergency 20 Dokumentation  4.2.0
MultiplayerDummyAction.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 //[-------------------------------------------------------]
14 
15 
16 //[-------------------------------------------------------]
17 //[ Namespace ]
18 //[-------------------------------------------------------]
19 namespace em5
20 {
21 
22 
23  //[-------------------------------------------------------]
24  //[ Classes ]
25  //[-------------------------------------------------------]
34  {
35 
36 
37  //[-------------------------------------------------------]
38  //[ Public definitions ]
39  //[-------------------------------------------------------]
40  public:
42 
43 
44  //[-------------------------------------------------------]
45  //[ Public methods ]
46  //[-------------------------------------------------------]
47  public:
53 
58  virtual ~MultiplayerDummyAction();
59 
60 
61  //[-------------------------------------------------------]
62  //[ Public virtual qsf::Actions methods ]
63  //[-------------------------------------------------------]
64  public:
65  virtual void serialize(qsf::BinarySerializer& serializer) override;
66 
67 
68  //[-------------------------------------------------------]
69  //[ Protected virtual qsf::Action methods ]
70  //[-------------------------------------------------------]
71  protected:
72  virtual qsf::action::Result updateAction(const qsf::Clock& clock) override;
73 
74 
75  //[-------------------------------------------------------]
76  //[ CAMP reflection system ]
77  //[-------------------------------------------------------]
78  QSF_CAMP_RTTI() // Only adds the virtual method "campClassId()", nothing more
79 
80 
81  };
82 
83 
84 //[-------------------------------------------------------]
85 //[ Namespace ]
86 //[-------------------------------------------------------]
87 } // em5
88 
89 
90 //[-------------------------------------------------------]
91 //[ CAMP reflection system ]
92 //[-------------------------------------------------------]
Definition: ActionPriority.h:13
virtual ~MultiplayerDummyAction()
Destructor.
Clock class.
Definition: Clock.h:33
MultiplayerDummyAction()
Default constructor.
#define QSF_CAMP_RTTI()
Only adds the virtual method "campClassId()", nothing more.
Definition: CampClass.h:75
#define QSF_CAMP_TYPE_NONCOPYABLE(type)
See "CAMP_TYPE_NONCOPYABLE" for details.
Definition: CampClass.h:112
virtual void serialize(qsf::BinarySerializer &serializer) override
Serialize or deserialize the action using a binary serializer.
Abstract action base class.
Definition: Action.h:59
Class combining strings with their hashes.
Definition: NamedIdentifier.h:34
Binary serializer class.
Definition: BinarySerializer.h:35
Result
Definition: ActionResult.h:20
EMERGENCY 5 multiplayer dummy action.
Definition: MultiplayerDummyAction.h:33
static const qsf::NamedIdentifier ACTION_ID
"em5::MultiplayerDummyAction" unique action identifier
Definition: MultiplayerDummyAction.h:41
virtual qsf::action::Result updateAction(const qsf::Clock &clock) override
Update the action.