Emergency 20 Dokumentation  4.2.0
PersonCleanup.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  //[-------------------------------------------------------]
31  {
32 
33 
34  //[-------------------------------------------------------]
35  //[ Public definitions ]
36  //[-------------------------------------------------------]
37  public:
38  static const uint32 GAMELOGIC_TYPE_ID; // "em5::PersonCleanup" game logic type ID
39 
40 
41  //[-------------------------------------------------------]
42  //[ Public methods ]
43  //[-------------------------------------------------------]
44  public:
45  PersonCleanup();
46 
47 
48  //[-------------------------------------------------------]
49  //[ Protected virtual em5::Cleanup methods ]
50  //[-------------------------------------------------------]
51  protected:
52  virtual Cleanup::CleanupResult onReadyForCleanupCheap() const override;
53  virtual ExecuteResult onExecuteCleanup() override;
54 
55 
56  //[-------------------------------------------------------]
57  //[ CAMP reflection system ]
58  //[-------------------------------------------------------]
59  QSF_CAMP_RTTI() // Only adds the virtual method "campClassId()", nothing more
60 
61 
62  };
63 
64 
65 //[-------------------------------------------------------]
66 //[ Namespace ]
67 //[-------------------------------------------------------]
68 } // em5
69 
70 
71 //[-------------------------------------------------------]
72 //[ CAMP reflection system ]
73 //[-------------------------------------------------------]
Definition: ActionPriority.h:13
Cleanup for persons.
Definition: PersonCleanup.h:30
unsigned int uint32
Definition: PlatformTypes.h:181
CleanupResult
Definition: Cleanup.h:45
ExecuteResult
Definition: Cleanup.h:52
#define EM5_API_EXPORT
Definition: Export.h:28
static const uint32 GAMELOGIC_TYPE_ID
Definition: PersonCleanup.h:38
#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
Cleanup base class.
Definition: Cleanup.h:37