Emergency 20 Dokumentation  4.2.0
GetSignallingDiscCommand.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  //[-------------------------------------------------------]
32  {
33 
34 
35  //[-------------------------------------------------------]
36  //[ Public definitions ]
37  //[-------------------------------------------------------]
38  public:
39  static const uint32 PLUGINABLE_ID;
40 
41 
42  //[-------------------------------------------------------]
43  //[ Public methods ]
44  //[-------------------------------------------------------]
45  public:
50  explicit GetSignallingDiscCommand(qsf::game::CommandManager* commandManager);
51 
52 
53  //[-------------------------------------------------------]
54  //[ Public virtual em5::Command methods ]
55  //[-------------------------------------------------------]
56  public:
57  bool checkContext(const qsf::game::CommandContext& context) override;
58 
59 
60  //[-------------------------------------------------------]
61  //[ Private definitions ]
62  //[-------------------------------------------------------]
63  private:
64  static const uint32 ACTION_PRIORITY;
65 
66 
67  //[-------------------------------------------------------]
68  //[ CAMP reflection system ]
69  //[-------------------------------------------------------]
70  QSF_CAMP_RTTI() // Only adds the virtual method "campClassId()", nothing more
71 
72 
73  };
74 
75 
76 //[-------------------------------------------------------]
77 //[ Namespace ]
78 //[-------------------------------------------------------]
79 } // em5
80 
81 
82 //[-------------------------------------------------------]
83 //[ CAMP reflection system ]
84 //[-------------------------------------------------------]
Command manager implementation.
Definition: CommandManager.h:49
Definition: ActionPriority.h:13
GetSignallingDiscCommand(qsf::game::CommandManager *commandManager)
Constructor.
unsigned int uint32
Definition: PlatformTypes.h:181
#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
EMERGENCY 5 get equipment command.
Definition: GetEquipmentCommand.h:39
EMERGENCY 5 get signalling disc command NOTE: This was CommandGetRedirectSign in older Emergencies...
Definition: GetSignallingDiscCommand.h:31
bool checkContext(const qsf::game::CommandContext &context) override
Check whether the command can be executed with the given context.
static const uint32 PLUGINABLE_ID
"em5::GetSignallingDiscCommand" unique command pluginable ID
Definition: GetSignallingDiscCommand.h:39
Command context base class.
Definition: CommandContext.h:48