EvEmu
0.8.4
11 September 2021
|
#include "MapDB.h"
Static Public Member Functions | |
static PyObject * | GetPseudoSecurities () |
static PyObject * | GetStationExtraInfo () |
static PyObject * | GetStationOpServices () |
static PyObject * | GetStationServiceInfo () |
static PyObject * | GetSolSystemVisits (uint32) |
static void | GetStationCount (DBQueryResult &res) |
static void | GetSystemJumps (DBQueryResult &res) |
static void | SystemStartup () |
static void | LoadDynamicData (uint32 sysID, SystemKillData &data) |
static PyRep * | GetDynamicData (uint8 type, uint8 time) |
static void | ManipulateTimeData () |
static void | SetSystemActive (uint32 sysID, bool active=false) |
static void | AddJump (uint32 sysID) |
static void | AddKill (uint32 sysID) |
static void | AddPodKill (uint32 sysID) |
static void | AddFactionKill (uint32 sysID) |
static void | UpdateJumps (uint32 sysID, uint16 jumps) |
static void | UpdateKillData (uint32 sysID, SystemKillData &data) |
static void | UpdatePilotCount (uint32 sysID, uint16 docked=0, uint16 space=0) |
![]() | |
static bool | GetAccountInformation (CryptoChallengePacket &ccp, AccountData &aData, std::string &failMsg) |
static bool | UpdateAccountHash (const char *username, std::string &hash) |
static bool | IncrementLoginCount (uint32 accountID) |
static void | UpdatePassword (uint32 accountID, const char *pass) |
static void | SaveKillOrLoss (CharKillData &data) |
static bool | GetConstant (const char *name, uint32 &into) |
static void | SetServerOnlineStatus (bool online=false) |
static void | SetCharacterOnlineStatus (uint32 char_id, bool online=false) |
static void | SetAccountOnlineStatus (uint32 accountID, bool online=false) |
static void | SetAccountBanStatus (uint32 accountID, bool banned=false) |
static void | SaveServerStats (double threads, float rss, float vm, float user, float kernel, uint32 items, uint32 bubbles) |
static uint32 | SetClientSeed () |
static PyRep * | LookupChars (const char *match, bool exact=false) |
static PyRep * | LookupOwners (const char *match, bool exact=false) |
static PyRep * | LookupCorporations (const std::string &) |
static PyRep * | LookupFactions (const std::string &) |
static PyRep * | LookupCorporationTickers (const std::string &) |
static PyRep * | LookupStations (const std::string &) |
static PyRep * | LookupKnownLocationsByGroup (const std::string &, uint32) |
static PyRep * | PrimeOwners (std::vector< int32 > &itemIDs) |
static bool | ValidateAccountName (CryptoChallengePacket &ccp, std::string &failMsg) |
static void | GetCorpHangarNames (uint32 corpID, std::map< uint8, std::string > &hangarNames) |
Additional Inherited Members | |
![]() | |
uint32 | GetStationOwner (uint32 stationID) |
![]() | |
void | ProcessStringChange (const char *key, const std::string &oldValue, std::string newValue, PyDict *notif, std::vector< std::string > &dbQ) |
void | ProcessRealChange (const char *key, double oldValue, double newValue, PyDict *notif, std::vector< std::string > &dbQ) |
void | ProcessIntChange (const char *key, uint32 oldValue, uint32 newValue, PyDict *notif, std::vector< std::string > &dbQ) |
void | ProcessLongChange (const char *key, int64 oldValue, int64 newValue, PyDict *notif, std::vector< std::string > &dbQ) |
![]() | |
static uint32 | CreateNewAccount (const char *login, const char *pass, const char *passHash, int64 role) |
|
static |
podKillsHour, podKills24Hour
Definition at line 256 of file MapDB.cpp.
References sDatabase.
Referenced by Sentry::Killed(), CustomsSE::Killed(), NPC::Killed(), StructureSE::Killed(), and ShipSE::Killed().
|
static |
Definition at line 218 of file MapDB.cpp.
References sDatabase.
Referenced by SystemManager::AddClient(), Client::CynoJump(), SystemManager::RemoveClient(), and Client::StargateJump().
|
static |
Definition at line 250 of file MapDB.cpp.
References sDatabase.
Referenced by Sentry::Killed(), CustomsSE::Killed(), NPC::Killed(), StructureSE::Killed(), and ShipSE::Killed().
|
static |
killsHour, kills24Hours
Definition at line 262 of file MapDB.cpp.
References sDatabase.
Referenced by ShipSE::Killed().
added jumpsHour and numPilots data inserts. 16Mar14 added killsHour, factionKills, podKillsHour 24Mar14 NOTE: DB has fields for timing the *Hour and *24Hour parts. need to write checks for that once everything else is working. NOTE: use averages for *Hour based on current data and serverUpTime. may be able to do 24Hour same way.
Definition at line 153 of file MapDB.cpp.
References DBResultToRowset(), DBResultRow::GetInt(), DBQueryResult::GetRow(), sDatabase, PyTuple::SetItem(), and PyDict::SetItem().
|
static |
Definition at line 31 of file MapDB.cpp.
References DBerror::c_str(), codelog, DBResultToRowset(), DBQueryResult::error, and sDatabase.
Referenced by MapData::Populate().
Definition at line 96 of file MapDB.cpp.
References DBerror::c_str(), codelog, DBResultToRowset(), DBQueryResult::error, and sDatabase.
|
static |
Definition at line 84 of file MapDB.cpp.
References DBerror::c_str(), codelog, DBQueryResult::error, and sDatabase.
Referenced by StaticDataMgr::Populate().
|
static |
Definition at line 42 of file MapDB.cpp.
References DBerror::c_str(), codelog, DBResultToRowset(), DBQueryResult::error, and sDatabase.
Referenced by MapData::Populate().
|
static |
Definition at line 60 of file MapDB.cpp.
References DBerror::c_str(), codelog, DBResultToRowset(), DBQueryResult::error, and sDatabase.
Referenced by MapData::Populate().
|
static |
Definition at line 72 of file MapDB.cpp.
References DBerror::c_str(), codelog, DBResultToRowset(), DBQueryResult::error, and sDatabase.
Referenced by MapData::Populate().
|
static |
Definition at line 194 of file MapDB.cpp.
References sDatabase.
Referenced by MapData::Populate().
|
static |
Definition at line 117 of file MapDB.cpp.
References DBerror::c_str(), codelog, DBQueryResult::error, SystemKillData::faction24DateTime, SystemKillData::factionDateTime, SystemKillData::factionKills, SystemKillData::factionKills24Hour, DBResultRow::GetInt(), DBResultRow::GetInt64(), DBQueryResult::GetRow(), SystemKillData::kills24DateTime, SystemKillData::kills24Hour, SystemKillData::killsDateTime, SystemKillData::killsHour, SystemKillData::pod24DateTime, SystemKillData::podDateTime, SystemKillData::podKills24Hour, SystemKillData::podKillsHour, and sDatabase.
Referenced by SystemManager::BootSystem().
|
static |
Definition at line 270 of file MapDB.cpp.
Referenced by EntityList::Process().
|
static |
UPDATE: this is populated when db is created. we are not deleting from mapDynamicData, but setting active as needed notes concerning previous system configuration removed
Definition at line 212 of file MapDB.cpp.
References sDatabase.
Referenced by SystemManager::BootSystem(), and SystemManager::UnloadSystem().
|
static |
Definition at line 201 of file MapDB.cpp.
References sDatabase.
Referenced by main().
factionKills, factionKills24Hour
Definition at line 232 of file MapDB.cpp.
References sLog.
|
static |
Definition at line 239 of file MapDB.cpp.
References SystemKillData::faction24DateTime, SystemKillData::factionDateTime, SystemKillData::factionKills, SystemKillData::factionKills24Hour, SystemKillData::kills24DateTime, SystemKillData::kills24Hour, SystemKillData::killsDateTime, SystemKillData::killsHour, SystemKillData::pod24DateTime, SystemKillData::podDateTime, SystemKillData::podKills24Hour, SystemKillData::podKillsHour, and sDatabase.
Referenced by SystemManager::ManipulateTimeData().
Definition at line 225 of file MapDB.cpp.
References sDatabase.
Referenced by SystemManager::SetDockCount(), and SystemManager::UpdateData().