EvEmu  0.8.4
11 September 2021
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
StandingMgr.h
Go to the documentation of this file.
1 
13 #ifndef EVE_STANDING_STANDINGMGR_H
14 #define EVE_STANDING_STANDINGMGR_H
15 
16 #include "../eve-server.h"
17 
18 #include "../../eve-common/EVE_Standings.h"
19 
20 #include "standing/StandingDB.h"
21 
22 
24 : public Singleton< StandingMgr >
25 {
26 public:
27  StandingMgr();
28  ~StandingMgr();
29 
30  int Initialize();
31 
32  void Clear();
33  void Close() { Clear(); }
34  void GetInfo();
35 
37 
38 
39 
40  void UpdateStandings(uint32 fromID, uint32 toID, uint16 eventType, double amount, std::string msg);
41 
42 protected:
43  void Populate();
44 
45 private:
47 
48 };
49 
50 
51 //Singleton
52 #define sStandingMgr \
53 ( StandingMgr::get() )
54 
55 
56 
57 #endif // EVE_STANDING_STANDINGMGR_H
void GetInfo()
Definition: StandingMgr.cpp:50
Python extended object.
Definition: PyRep.h:861
void Clear()
Definition: StandingMgr.cpp:38
PyObjectEx * m_factionStandings
Definition: StandingMgr.h:46
void Close()
Definition: StandingMgr.h:33
unsigned __int32 uint32
Definition: eve-compat.h:50
#define PyIncRef(op)
Definition: PyRep.h:56
PyObjectEx * GetFactionStandings()
Definition: StandingMgr.h:36
int Initialize()
Definition: StandingMgr.cpp:43
Template used for singleton classes.
Definition: Singleton.h:43
void UpdateStandings(uint32 fromID, uint32 toID, uint16 eventType, double amount, std::string msg)
Definition: StandingMgr.cpp:63
unsigned __int16 uint16
Definition: eve-compat.h:48
void Populate()
Definition: StandingMgr.cpp:55