EvEmu  0.8.4
11 September 2021
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Weapon.h
Go to the documentation of this file.
1 
11 #ifndef EVEMU_POS_WEAPON_H_
12 #define EVEMU_POS_WEAPON_H_
13 
14 
15 #include "pos/Structure.h"
16 
17 
18 class WeaponSE
19 : public StructureSE
20 {
21 public:
22  WeaponSE(StructureItemRef structure, PyServiceMgr& services, SystemManager* system, const FactionData& data);
23  virtual ~WeaponSE() { /* do nothing here */ }
24 
25  /* class type pointer querys. */
26  virtual WeaponSE* GetWeaponSE() { return this; }
27 
28  /* class type tests. */
29  virtual bool IsWeaponSE() { return true; }
30 
31  /* SystemEntity interface */
32  virtual void Process();
33 
34  /* virtual functions default to base class and overridden as needed */
35  virtual void Init();
36 
37 
38 };
39 
40 #endif // EVEMU_POS_WEAPON_H_
WeaponSE(StructureItemRef structure, PyServiceMgr &services, SystemManager *system, const FactionData &data)
Definition: Weapon.cpp:31
virtual void Process()
Definition: Weapon.cpp:42
virtual WeaponSE * GetWeaponSE()
Definition: Weapon.h:26
virtual ~WeaponSE()
Definition: Weapon.h:23
virtual void Init()
Definition: Weapon.cpp:37
virtual bool IsWeaponSE()
Definition: Weapon.h:29
Reference-counting-based smart pointer.
Definition: RefPtr.h:133