EvEmu
0.8.4
11 September 2021
|
#include "StandingMgr.h"
Public Member Functions | |
void | Close () |
PyObjectEx * | GetFactionStandings () |
![]() | |
Singleton () | |
Primary constructor. More... | |
Private Attributes | |
PyObjectEx * | m_factionStandings |
StandingMgr.cpp | |
memory object caching system for managing and saving standings data methods and functions relating to manipulation of standings : Allan
| |
StandingMgr () | |
~StandingMgr () | |
int | Initialize () |
void | Clear () |
void | GetInfo () |
void | UpdateStandings (uint32 fromID, uint32 toID, uint16 eventType, double amount, std::string msg) |
void | Populate () |
Additional Inherited Members | |
![]() | |
static StandingMgr & | get () |
![]() | |
static std::shared_ptr < StandingMgr > | mInstance |
Definition at line 23 of file StandingMgr.h.
StandingMgr::StandingMgr | ( | ) |
Definition at line 27 of file StandingMgr.cpp.
StandingMgr::~StandingMgr | ( | ) |
Definition at line 33 of file StandingMgr.cpp.
void StandingMgr::Clear | ( | ) |
Definition at line 38 of file StandingMgr.cpp.
References m_factionStandings, and PySafeDecRef.
Referenced by Close().
|
inline |
Definition at line 33 of file StandingMgr.h.
References Clear().
|
inline |
void StandingMgr::GetInfo | ( | ) |
Definition at line 50 of file StandingMgr.cpp.
int StandingMgr::Initialize | ( | ) |
Definition at line 43 of file StandingMgr.cpp.
References Populate(), and sLog.
|
protected |
Definition at line 55 of file StandingMgr.cpp.
References StandingDB::GetFactionStandings(), m_factionStandings, and sLog.
Referenced by Initialize().
void StandingMgr::UpdateStandings | ( | uint32 | fromID, |
uint32 | toID, | ||
uint16 | eventType, | ||
double | amount, | ||
std::string | msg | ||
) |
Definition at line 63 of file StandingMgr.cpp.
References StandingDB::SaveStandingChanges(), and StandingDB::UpdateStanding().
|
private |
Definition at line 46 of file StandingMgr.h.
Referenced by Clear(), GetFactionStandings(), and Populate().