Emergency 20 Dokumentation  4.2.0
GangsterWithWaypointReachedCallback.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 boost signals ]
36  //[-------------------------------------------------------]
37  public:
38  boost::signals2::signal<void()> waypointReached;
39 
40 
41  //[-------------------------------------------------------]
42  //[ Public methods ]
43  //[-------------------------------------------------------]
44  public:
50 
55  explicit GangsterWithWaypointReachedCallback(uint32 gameLogicId);
56 
62 
63 
64  //[-------------------------------------------------------]
65  //[ Protected virtual em5::GangsterBaseLogic methods ]
66  //[-------------------------------------------------------]
67  protected:
72  virtual void onWaypointReached(const Waypoint& waypoint) 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
unsigned int uint32
Definition: PlatformTypes.h:181
#define EM5_API_EXPORT
Definition: Export.h:28
#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
Game logic for gangster type used in ME204 Emergency 2017 campaign event.
Definition: GangsterWithWaypointReachedCallback.h:30
Base game logic for gangster.
Definition: GangsterBaseLogic.h:52
Definition: GangsterBaseLogic.h:331
boost::signals2::signal< void()> waypointReached
Definition: GangsterWithWaypointReachedCallback.h:38