26 sLog.Warning(
" StatisticMgr",
"Statistics Manager has been closed." );
34 sLog.Blue(
" StatisticMgr",
"Statistics Manager Initialized." );
90 sLog.Error(
"StatisticMgr::Add()",
"Default reached for key %u.", key );
118 sLog.Error(
"StatisticMgr::Increment()",
"Default reached for key %u.", key );
126 sLog.Cyan(
" StatisticMgr",
" Time Span: %u minutes",
m_data.
span);
146 while (res->
GetRow(row)) {
static void GetStatisticData(DBQueryResult &res, int64 starttime)
float GetFloat(uint32 index) const
int32 GetInt(uint32 index) const
void SafeDelete(T *&p)
Deletes and nullifies a pointer.
bool GetRow(DBResultRow &into)
#define sLog
Evaluates to a NewLog instance.
void Increment(uint8 key)
static void SaveStatisticData(StatisticData &data)
void Add(uint8 key, double value)
typeID Spawn an NPC with the specified type text Search for items matching the specified query() type() key(value)-Send an OnRemoteMessage" ) COMMAND( setbpattr
static void UpdateStatisticHistory(StatisticData &data)