EvEmu
0.8.4
11 September 2021
|
#include "ManagerDB.h"
Definition at line 22 of file ManagerDB.h.
void ManagerDB::ClearAsteroids | ( | ) |
|
static |
Definition at line 690 of file ManagerDB.cpp.
References sDatabase.
Referenced by DungeonDataMgr::Initialize(), and SystemManager::UnloadSystem().
|
static |
Definition at line 700 of file ManagerDB.cpp.
References sDatabase.
|
static |
Definition at line 468 of file ManagerDB.cpp.
References AsteroidData::beltID, AsteroidData::itemID, AsteroidData::itemName, AsteroidData::position, AsteroidData::quantity, AsteroidData::radius, sDatabase, AsteroidData::systemID, AsteroidData::typeID, Ga::GaVec3::x, Ga::GaVec3::y, and Ga::GaVec3::z.
Referenced by AsteroidItem::Spawn().
|
static |
Definition at line 462 of file ManagerDB.cpp.
References sDatabase.
Referenced by ItemFactory::Initialize().
|
static |
Definition at line 313 of file ManagerDB.cpp.
References DBerror::c_str(), codelog, DBQueryResult::error, and sDatabase.
Referenced by StaticDataMgr::Populate().
|
static |
Definition at line 130 of file ManagerDB.cpp.
References _log, DBerror::c_str(), codelog, DBResultToCRowset(), DBQueryResult::error, DBQueryResult::GetRowCount(), and sDatabase.
Referenced by StaticDataMgr::Populate().
void ManagerDB::GetAnomalyList | ( | DBQueryResult & | res | ) |
Definition at line 338 of file ManagerDB.cpp.
References _log, DBerror::c_str(), DBQueryResult::error, and sDatabase.
|
static |
Definition at line 348 of file ManagerDB.cpp.
References _log, DBerror::c_str(), DBQueryResult::error, DBQueryResult::GetRow(), NULL_ORIGIN(), and sDatabase.
|
static |
Definition at line 478 of file ManagerDB.cpp.
References _log, AsteroidData::beltID, DBerror::c_str(), DBQueryResult::error, DBResultRow::GetDouble(), DBResultRow::GetInt(), DBQueryResult::GetRow(), DBResultRow::GetText(), AsteroidData::itemID, AsteroidData::itemName, AsteroidData::position, AsteroidData::quantity, AsteroidData::radius, sDatabase, AsteroidData::systemID, and AsteroidData::typeID.
Referenced by AsteroidItem::_LoadItem().
|
static |
Definition at line 118 of file ManagerDB.cpp.
References _log, DBerror::c_str(), codelog, DBResultToRowset(), DBQueryResult::error, DBQueryResult::GetRowCount(), and sDatabase.
Referenced by StaticDataMgr::Populate().
|
static |
Definition at line 16 of file ManagerDB.cpp.
References _log, DBerror::c_str(), codelog, DBQueryResult::error, DBQueryResult::GetRowCount(), and sDatabase.
Referenced by StaticDataMgr::Populate().
|
static |
Definition at line 604 of file ManagerDB.cpp.
References _log, DBerror::c_str(), DBQueryResult::error, and sDatabase.
Referenced by DungeonDataMgr::Populate().
|
static |
Definition at line 610 of file ManagerDB.cpp.
References _log, DBerror::c_str(), DBQueryResult::error, and sDatabase.
Referenced by DungeonDataMgr::Populate().
|
static |
Definition at line 621 of file ManagerDB.cpp.
References _log, DBerror::c_str(), DBQueryResult::error, and sDatabase.
Referenced by DungeonDataMgr::Populate().
|
static |
Definition at line 627 of file ManagerDB.cpp.
References _log, DBerror::c_str(), DBQueryResult::error, and sDatabase.
|
static |
Definition at line 633 of file ManagerDB.cpp.
References _log, DBerror::c_str(), DBQueryResult::error, and sDatabase.
|
static |
Definition at line 639 of file ManagerDB.cpp.
References _log, DBerror::c_str(), DBQueryResult::error, and sDatabase.
Referenced by DungeonDataMgr::Populate().
|
static |
Definition at line 94 of file ManagerDB.cpp.
References _log, DBerror::c_str(), codelog, DBResultToRowset(), DBQueryResult::error, DBQueryResult::GetRowCount(), and sDatabase.
Referenced by StaticDataMgr::Populate().
|
static |
Definition at line 390 of file ManagerDB.cpp.
References _log, DBerror::c_str(), DBQueryResult::error, and sDatabase.
Referenced by StaticDataMgr::Populate().
|
static |
Definition at line 23 of file ManagerDB.cpp.
References _log, DBerror::c_str(), codelog, DBQueryResult::error, DBQueryResult::GetRowCount(), and sDatabase.
Referenced by StaticDataMgr::Populate().
|
static |
Definition at line 401 of file ManagerDB.cpp.
References _log, DBerror::c_str(), DBQueryResult::error, factionAngel, factionBloodRaider, factionGuristas, factionRogueDrones, factionSanshas, factionSerpentis, and sDatabase.
Referenced by StaticDataMgr::Populate().
|
static |
Definition at line 106 of file ManagerDB.cpp.
References _log, DBerror::c_str(), codelog, DBResultToRowset(), DBQueryResult::error, DBQueryResult::GetRowCount(), and sDatabase.
Referenced by StaticDataMgr::Populate().
|
static |
Definition at line 319 of file ManagerDB.cpp.
References DBerror::c_str(), codelog, DBQueryResult::error, EVEDB::invGroups::Moon_Materials, and sDatabase.
Referenced by StaticDataMgr::Populate().
|
static |
Definition at line 269 of file ManagerDB.cpp.
References DBerror::c_str(), codelog, DBResultToRowset(), DBQueryResult::error, and sDatabase.
Referenced by StaticDataMgr::Populate().
|
static |
Definition at line 157 of file ManagerDB.cpp.
References _log, DBerror::c_str(), codelog, DBResultToCIndexedRowset(), DBQueryResult::error, DBQueryResult::GetRowCount(), and sDatabase.
Referenced by StaticDataMgr::Populate().
|
static |
Definition at line 290 of file ManagerDB.cpp.
References DBerror::c_str(), codelog, DBQueryResult::error, and sDatabase.
Referenced by StaticDataMgr::Populate().
|
static |
Definition at line 380 of file ManagerDB.cpp.
References _log, DBerror::c_str(), DBQueryResult::error, and sDatabase.
Referenced by StaticDataMgr::Populate().
|
static |
Definition at line 385 of file ManagerDB.cpp.
References _log, DBerror::c_str(), DBQueryResult::error, and sDatabase.
Referenced by StaticDataMgr::Populate().
|
static |
Definition at line 282 of file ManagerDB.cpp.
References DBerror::c_str(), codelog, DBQueryResult::error, and sDatabase.
Referenced by StaticDataMgr::Populate().
|
static |
Definition at line 645 of file ManagerDB.cpp.
References _log, DBerror::c_str(), Dungeon::ActiveData::dunExpiryTime, Dungeon::ActiveData::dunItemID, Dungeon::ActiveData::dunTemplateID, DBQueryResult::error, DBQueryResult::GetRow(), DBQueryResult::GetRowCount(), sDatabase, Dungeon::ActiveData::state, Dungeon::ActiveData::systemID, Dungeon::ActiveData::x, Dungeon::ActiveData::y, and Dungeon::ActiveData::z.
Referenced by DungeonMgr::Load().
|
static |
Definition at line 70 of file ManagerDB.cpp.
References _log, DBerror::c_str(), codelog, DBQueryResult::error, DBQueryResult::GetRowCount(), and sDatabase.
Referenced by StaticDataMgr::Populate().
|
static |
Definition at line 395 of file ManagerDB.cpp.
References _log, DBerror::c_str(), DBQueryResult::error, and sDatabase.
Referenced by StaticDataMgr::Populate().
|
static |
Definition at line 306 of file ManagerDB.cpp.
References DBerror::c_str(), codelog, DBQueryResult::error, and sDatabase.
Referenced by StaticDataMgr::Populate().
|
static |
Definition at line 714 of file ManagerDB.cpp.
References DBerror::c_str(), codelog, DBQueryResult::error, and sDatabase.
Referenced by StatisticMgr::CompileData().
void ManagerDB::GetSystemAnomalies | ( | uint32 | systemID, |
DBQueryResult & | res | ||
) |
Definition at line 365 of file ManagerDB.cpp.
References _log, DBerror::c_str(), DBQueryResult::error, and sDatabase.
void ManagerDB::GetSystemAnomalies | ( | uint32 | systemID, |
std::vector< CosmicSignature > & | sigs | ||
) |
Definition at line 375 of file ManagerDB.cpp.
|
static |
Definition at line 296 of file ManagerDB.cpp.
References DBerror::c_str(), codelog, DBQueryResult::error, and sDatabase.
Referenced by StaticDataMgr::Populate().
|
static |
Definition at line 78 of file ManagerDB.cpp.
References _log, DBerror::c_str(), codelog, DBQueryResult::error, DBQueryResult::GetRowCount(), and sDatabase.
Referenced by StaticDataMgr::Populate().
|
static |
Definition at line 44 of file ManagerDB.cpp.
References _log, DBerror::c_str(), codelog, DBQueryResult::error, DBQueryResult::GetRowCount(), and sDatabase.
Referenced by StaticDataMgr::Populate().
|
static |
Definition at line 598 of file ManagerDB.cpp.
References _log, DBerror::c_str(), DBQueryResult::error, and sDatabase.
Referenced by StaticDataMgr::Populate().
Definition at line 170 of file ManagerDB.cpp.
References DBerror::c_str(), codelog, DBResultToUIntUIntDict(), DBQueryResult::error, and sDatabase.
Referenced by StaticDataMgr::Populate().
Definition at line 216 of file ManagerDB.cpp.
References DBerror::c_str(), codelog, DBResultToIntIntlistDict(), DBQueryResult::error, and sDatabase.
Referenced by StaticDataMgr::Populate().
Definition at line 238 of file ManagerDB.cpp.
References DBerror::c_str(), codelog, DBResultToIntIntlistDict(), DBQueryResult::error, and sDatabase.
Referenced by StaticDataMgr::Populate().
Definition at line 205 of file ManagerDB.cpp.
References DBerror::c_str(), codelog, DBResultToIntIntlistDict(), DBQueryResult::error, and sDatabase.
Referenced by StaticDataMgr::Populate().
Definition at line 227 of file ManagerDB.cpp.
References DBerror::c_str(), codelog, DBResultToIntIntlistDict(), DBQueryResult::error, and sDatabase.
Referenced by StaticDataMgr::Populate().
Definition at line 180 of file ManagerDB.cpp.
References DBerror::c_str(), codelog, DBResultToUIntUIntDict(), DBQueryResult::error, and sDatabase.
Referenced by StaticDataMgr::Populate().
Definition at line 193 of file ManagerDB.cpp.
References DBerror::c_str(), codelog, DBResultToUIntUIntDict(), DBQueryResult::error, and sDatabase.
Referenced by StaticDataMgr::Populate().
|
static |
Definition at line 86 of file ManagerDB.cpp.
References _log, DBerror::c_str(), codelog, DBQueryResult::error, DBQueryResult::GetRowCount(), and sDatabase.
Referenced by StaticDataMgr::Populate().
|
static |
Definition at line 249 of file ManagerDB.cpp.
References DBerror::c_str(), codelog, DBResultToIntRowDict(), DBQueryResult::error, and sDatabase.
Referenced by StaticDataMgr::Populate().
bool ManagerDB::LoadSystemRoids | ( | uint32 | systemID, |
uint32 & | beltID, | ||
std::vector< AsteroidData > & | into | ||
) |
Definition at line 508 of file ManagerDB.cpp.
References _log, AsteroidData::beltID, DBerror::c_str(), DBQueryResult::error, DBQueryResult::GetRow(), DBQueryResult::GetRowCount(), AsteroidData::itemID, AsteroidData::itemName, AsteroidData::position, AsteroidData::quantity, AsteroidData::radius, sDatabase, AsteroidData::systemID, and AsteroidData::typeID.
Referenced by BeltMgr::Load().
void ManagerDB::RemoveAsteroid | ( | uint32 | asteroidID | ) |
Definition at line 539 of file ManagerDB.cpp.
References sDatabase.
Referenced by BeltMgr::RemoveAsteroid().
|
static |
Definition at line 676 of file ManagerDB.cpp.
References _log, DBerror::c_str(), Dungeon::ActiveData::dunExpiryTime, Dungeon::ActiveData::dunItemID, Dungeon::ActiveData::dunTemplateID, sDatabase, Dungeon::ActiveData::state, Dungeon::ActiveData::systemID, Dungeon::ActiveData::x, Dungeon::ActiveData::y, and Dungeon::ActiveData::z.
void ManagerDB::SaveAnomaly | ( | CosmicSignature & | sig | ) |
Definition at line 325 of file ManagerDB.cpp.
References _log, CosmicSignature::dungeonType, CosmicSignature::position, CosmicSignature::scanAttributeID, sDatabase, CosmicSignature::sigGroupID, CosmicSignature::sigID, CosmicSignature::sigItemID, CosmicSignature::sigName, CosmicSignature::sigTypeID, CosmicSignature::systemID, Ga::GaVec3::x, Ga::GaVec3::y, and Ga::GaVec3::z.
Referenced by AnomalyMgr::SaveAnomaly().
void ManagerDB::SaveRoid | ( | AsteroidData & | data | ) |
Definition at line 552 of file ManagerDB.cpp.
References _log, DBerror::c_str(), AsteroidData::itemID, AsteroidData::quantity, AsteroidData::radius, and sDatabase.
|
static |
Definition at line 723 of file ManagerDB.cpp.
References _log, DBerror::c_str(), GetFileTimeNow(), StatisticData::iskMarket, StatisticData::npcBounties, StatisticData::oreMined, StatisticData::pcBounties, StatisticData::pcMissiles, StatisticData::pcShots, StatisticData::probesLaunched, StatisticData::ramJobs, sDatabase, StatisticData::shipsSalvaged, StatisticData::sitesScanned, and StatisticData::span.
Referenced by StatisticMgr::SaveData().
void ManagerDB::SaveSystemRoids | ( | uint32 | systemID, |
std::vector< AsteroidData > & | roids | ||
) |
Definition at line 566 of file ManagerDB.cpp.
References _log, DBerror::c_str(), and sDatabase.
Referenced by BeltMgr::Save().
|
static |
Definition at line 737 of file ManagerDB.cpp.
References _log, DBerror::c_str(), StatisticData::iskMarket, StatisticData::npcBounties, StatisticData::oreMined, StatisticData::pcBounties, StatisticData::pcMissiles, StatisticData::pcShots, StatisticData::probesLaunched, StatisticData::ramJobs, sDatabase, StatisticData::shipsSalvaged, and StatisticData::sitesScanned.
Referenced by StatisticMgr::CompileData(), and StatisticMgr::Initialize().