EvEmu
0.8.4
11 September 2021
|
#include "SystemManager.h"
Public Types | |
typedef std::map< uint32, SystemBubble * > | SpawnBubbleMap |
Protected Member Functions | |
void | PayBounties () |
void | GetDockedCount () |
void | GetPlayerCount () |
bool | LoadCosmicMgrs () |
bool | LoadSystemStatics () |
bool | LoadSystemDynamics () |
bool | LoadPlayerDynamics () |
Private Types | |
typedef std::map< uint16, uint8 > | RatDataMap |
Private Member Functions | |
void | ManipulateTimeData () |
bool | SystemActivity () |
bool | SafeToUnload () |
bool | IsNull (std::map< uint32, SystemEntity * >::iterator &i) |
Definition at line 60 of file SystemManager.h.
|
private |
Definition at line 232 of file SystemManager.h.
typedef std::map<uint32, SystemBubble*> SystemManager::SpawnBubbleMap |
Definition at line 93 of file SystemManager.h.
SystemManager::SystemManager | ( | uint32 | systemID, |
PyServiceMgr & | svc | ||
) |
Definition at line 64 of file SystemManager.cpp.
References _log, m_beltVector, m_clients, m_data, m_entities, m_gateMap, m_jumpMap, m_killData, m_minutes, m_moonMap, m_npcs, m_opStaticEntities, m_planetMap, m_ratBubbles, m_roidBubbles, m_secValue, m_staticEntities, m_ticEntities, SystemData::name, sDataMgr, SystemData::securityRating, and SystemData::systemID.
SystemManager::~SystemManager | ( | ) |
Definition at line 110 of file SystemManager.cpp.
References _log, m_anomMgr, m_beltMgr, m_clients, m_data, m_dungMgr, m_loaded, m_players, m_spawnMgr, SafeDelete(), sEntityList, SystemData::systemID, and UnloadSystem().
void SystemManager::AddBounty | ( | uint32 | charID, |
BountyData & | data | ||
) |
Definition at line 1141 of file SystemManager.cpp.
References _log, BountyData::amount, BountyData::fromID, m_bountyMap, m_data, m_ratMap, SystemData::name, and SystemData::systemID.
Referenced by DynamicSystemEntity::AwardBounty().
void SystemManager::AddClient | ( | Client * | pClient, |
bool | count = false , |
||
bool | jump = false |
||
) |
Definition at line 911 of file SystemManager.cpp.
References _log, MapDB::AddJump(), Client::GetCharacterID(), Client::GetName(), m_activityTime, m_clients, m_data, m_jumpMap, m_players, SystemData::name, sEntityList, and SystemData::systemID.
Referenced by Client::MoveToLocation(), and Client::SelectCharacter().
void SystemManager::AddEntity | ( | SystemEntity * | pSE, |
bool | addSignal = true |
||
) |
Definition at line 1036 of file SystemManager.cpp.
References _log, SolarSystem::AddItemToInventory(), AnomalyMgr::AddSignal(), SystemEntity::GetID(), SystemEntity::GetName(), SystemEntity::GetProbeSE(), SystemEntity::GetSelf(), SystemEntity::IsCOSE(), SystemEntity::isGlobal(), SystemEntity::IsOperSE(), SystemEntity::IsProbeSE(), IsStaticItem, itemID(), m_anomMgr, m_data, m_entities, m_entityChanged, m_loaded, m_opStaticEntities, m_solarSystemRef, m_staticEntities, m_ticEntities, SystemData::name, sBubbleMgr, SendStaticBall(), sEntityList, and SystemData::systemID.
Referenced by AddNPC(), BuildDynamicEntity(), WormholeMgr::Create(), DungeonMgr::Create(), PlanetSE::CreateCustomsOffice(), CynoModule::CreateCyno(), TowerSE::CreateForceField(), Prospector::DropSalvage(), Client::Eject(), DroneSE::Launch(), ActiveModule::LaunchProbe(), BeltMgr::Load(), LoadPlayerDynamics(), LoadSystemDynamics(), DestinyManager::MakeMissile(), SystemBubble::MarkBubble(), DestinyManager::MoveObject(), Client::MoveToPosition(), Client::ResetAfterPopped(), Client::SetBallPark(), Client::SetDestiny(), and BeltMgr::SpawnAsteroid().
void SystemManager::AddItemToInventory | ( | InventoryItemRef | item | ) |
Definition at line 1434 of file SystemManager.cpp.
References SolarSystem::AddItemToInventory(), and m_solarSystemRef.
Referenced by LoadSystemStatics().
void SystemManager::AddMarker | ( | SystemEntity * | pSE, |
bool | sendBall = false , |
||
bool | addSignal = false |
||
) |
Definition at line 1092 of file SystemManager.cpp.
References AnomalyMgr::AddSignal(), Buffer::Append(), SystemEntity::EncodeDestiny(), SystemEntity::GetID(), is_log_enabled, m_anomMgr, m_clients, m_entities, SystemEntity::MakeDamageState(), SystemEntity::MakeSlimItem(), Destiny::AddBall_header::packet_type, PyIncRef, SafeDelete(), sBubbleMgr, sEntityList, PyTuple::SetItem(), and Destiny::AddBall_header::stamp.
Referenced by DestinyManager::MoveObject().
void SystemManager::AddNPC | ( | NPC * | pNPC | ) |
Definition at line 1008 of file SystemManager.cpp.
References _log, AddEntity(), SystemEntity::GetID(), SystemEntity::GetName(), itemID(), m_data, m_npcs, SystemData::name, sEntityList, and SystemData::systemID.
Referenced by SpawnMgr::MakeSpawn(), and SpawnMgr::ReSpawn().
|
inline |
Definition at line 102 of file SystemManager.h.
References m_beltCount.
Referenced by Command_list(), and SpawnMgr::Init().
bool SystemManager::BootSystem | ( | ) |
Definition at line 126 of file SystemManager.cpp.
References _log, SystemData::constellationID, LSCService::CreateSystemChannel(), RefPtr< X >::get(), LoadCosmicMgrs(), MapDB::LoadDynamicData(), LoadPlayerDynamics(), LoadSystemDynamics(), LoadSystemStatics(), PyServiceMgr::lsc_service, m_bountyTimer, m_data, m_killData, m_loaded, m_minutetimer, m_opStaticEntities, m_services, m_solarSystemRef, m_ticEntities, SystemData::regionID, sConfig, MapDB::SetSystemActive(), sItemFactory, Timer::Start(), and SystemData::systemID.
bool SystemManager::BuildDynamicEntity | ( | const DBSystemDynamicEntity & | entity, |
uint32 | launcherID = 0 |
||
) |
Definition at line 521 of file SystemManager.cpp.
References _log, AddEntity(), DynamicEntityFactory::BuildEntity(), Client::GetFleetID(), SystemEntity::GetWreckSE(), DBSystemDynamicEntity::groupID, Client::InFleet(), IsCharacterID, DBSystemDynamicEntity::itemID, m_data, SystemData::name, DBSystemDynamicEntity::ownerID, sEntityList, SystemEntity::SetFleetID(), WreckSE::SetLaunchedByID(), sLog, SystemData::systemID, and DBSystemDynamicEntity::typeID.
Referenced by Command_spawn(), Command_spawnn(), Sentry::Killed(), CustomsSE::Killed(), NPC::Killed(), DroneSE::Killed(), StructureSE::Killed(), and ShipSE::Killed().
|
inline |
|
inline |
|
inline |
void SystemManager::DoSpawnForBubble | ( | SystemBubble * | pBubble | ) |
Definition at line 1234 of file SystemManager.cpp.
References _log, SpawnMgr::DoSpawnForBubble(), SystemBubble::GetID(), is_log_enabled, SystemBubble::IsGate(), SpawnMgr::IsInitialized(), m_activeRatSpawns, m_beltCount, m_data, m_ratBubbles, m_spawnMgr, SystemData::name, SystemData::regionID, sBubbleMgr, SystemData::securityRating, and SystemData::systemID.
Referenced by SystemBubble::Process().
void SystemManager::DScan | ( | int64 | range, |
const GPoint & | pos, | ||
std::vector< SystemEntity * > & | vector | ||
) |
may not be in this version, but check for "scan inhibitor" POS module; ships in it are invis to dscan AttrDScanImmune is from rhea expansion. may be able to implement here.
Definition at line 1542 of file SystemManager.cpp.
References EVEDB::invGroups::CombatRecon, EVEDB::invGroups::CovertOps, Ga::GaVec3::distance(), IsAsteroidID, IsNPC, IsTempItem, m_entities, and sConfig.
Referenced by Scan::ConeScan().
void SystemManager::GetAllEntities | ( | std::vector< CosmicSignature > & | vector | ) |
Definition at line 1609 of file SystemManager.cpp.
References Dungeon::Type::Anomaly, Scanning::Group::Anomaly, EVEDB::invCategories::Asteroid, AttrScanAllStrength, AttrScanStrengthDronesProbes, AttrScanStrengthShips, AttrScanStrengthSignatures, AttrScanStrengthStructures, EVEDB::invCategories::Celestial, EVEDB::invCategories::Charge, EVEDB::invTypes::CosmicSignature, EVEDB::invCategories::Deployable, EVEDB::invCategories::Drone, Scanning::Group::DroneOrProbe, CosmicSignature::dungeonType, EVEDB::invCategories::Entity, m_data, m_ticEntities, EVEDB::invCategories::Orbitals, CosmicSignature::ownerID, CosmicSignature::position, CosmicSignature::scanAttributeID, CosmicSignature::scanGroupID, sEntityList, EVEDB::invCategories::Ship, Scanning::Group::Ship, CosmicSignature::sigGroupID, CosmicSignature::sigID, CosmicSignature::sigItemID, CosmicSignature::sigName, Scanning::Group::Signature, CosmicSignature::sigStrength, CosmicSignature::sigTypeID, EVEDB::invCategories::SovereigntyStructure, Scanning::Group::Structure, EVEDB::invCategories::Structure, EVEDB::invCategories::StructureUpgrade, CosmicSignature::systemID, and SystemData::systemID.
Referenced by Scan::ShipScanResult().
|
inline |
Definition at line 111 of file SystemManager.h.
References m_anomMgr.
Referenced by Command_siglist(), Scan::GetProbeDataForSig(), Scan::ProbeScanResult(), and Scan::ShipScanResult().
|
inline |
Definition at line 109 of file SystemManager.h.
References m_beltMgr.
Referenced by SystemBubble::Add(), MiningLaser::CanActivate(), Command_beltlist(), DungeonMgr::Create(), ActiveModule::DeactivateCycle(), AsteroidSE::Process(), and SystemBubble::SetBelt().
void SystemManager::GetClientList | ( | std::vector< Client * > & | cVec | ) |
Definition at line 1536 of file SystemManager.cpp.
References m_clients.
Referenced by EntityList::Multicast(), and DestinyManager::SendDestinyUpdate().
SystemEntity * SystemManager::GetClosestGateSE | ( | const GPoint & | myPos | ) |
Definition at line 1514 of file SystemManager.cpp.
References Ga::GaVec3::distance(), and m_gateMap.
Referenced by StructureSE::InitData().
SystemEntity * SystemManager::GetClosestMoonSE | ( | const GPoint & | myPos | ) |
Definition at line 1525 of file SystemManager.cpp.
References Ga::GaVec3::distance(), and m_moonMap.
Referenced by Command_getposition(), and StructureSE::InitData().
Definition at line 1492 of file SystemManager.cpp.
References Ga::GaVec3::distance(), and m_planetMap.
SystemEntity * SystemManager::GetClosestPlanetSE | ( | const GPoint & | myPos | ) |
Definition at line 1503 of file SystemManager.cpp.
References Ga::GaVec3::distance(), and m_planetMap.
|
inline |
Definition at line 82 of file SystemManager.h.
References m_data, and SystemData::regionID.
Referenced by TCUSE::SetOnline().
CargoContainerRef SystemManager::GetContainerFromInventory | ( | uint32 | contID | ) |
Definition at line 1474 of file SystemManager.cpp.
References Inventory::GetByID(), InventoryItem::GetMyInventory(), m_solarSystemRef, and RefPtr< X >::StaticCast().
Referenced by TradeService::TransferContainerContents().
PyRep * SystemManager::GetCurrentEntities | ( | ) |
Definition at line 1585 of file SystemManager.cpp.
References PyList::AddItem(), m_ticEntities, sDataMgr, and PyDict::SetItemString().
|
protected |
Definition at line 1721 of file SystemManager.cpp.
References m_clients, and m_docked.
Referenced by SetDockCount().
|
inline |
|
inline |
Definition at line 158 of file SystemManager.h.
References m_entities.
Referenced by Command_list().
|
inline |
Definition at line 154 of file SystemManager.h.
References m_gateMap.
Referenced by SBUSE::GetGates().
|
inline |
Definition at line 80 of file SystemManager.h.
References m_data, and SystemData::systemID.
Referenced by BubbleManager::Add(), AnomalyMgr::AddSignal(), Client::Board(), Client::BoardShip(), AnomalyMgr::Close(), Command_list(), Command_siglist(), DungeonMgr::Create(), AnomalyMgr::CreateAnomaly(), Colony::CreateCommandPin(), PlanetSE::CreateCustomsOffice(), CynoModule::CreateCyno(), WormholeMgr::CreateExit(), TowerSE::CreateForceField(), Client::DockToStation(), BubbleManager::FindBubble(), SystemGPoint::GetAnomalyPoint(), BubbleManager::GetBubble(), FleetService::GetFleetClientsInSystem(), FleetService::GetFleetMembersInSystem(), PlanetSE::GetPlanetInfo(), SpawnMgr::Init(), AnomalyMgr::Init(), BeltMgr::Init(), DungeonMgr::Init(), StructureSE::InitData(), CustomsSE::Killed(), DroneSE::Killed(), StructureSE::Killed(), ShipSE::Killed(), DungeonMgr::Load(), BubbleManager::MakeBubble(), WormholeSE::MakeSlimItem(), SpawnMgr::MakeSpawn(), Client::MoveToLocation(), SpawnMgr::Process(), SystemBubble::ProcessWander(), SpawnMgr::ReSpawn(), CynoModule::SendOnJumpBeaconChange(), Client::SetDestiny(), SBUSE::SetOffline(), TCUSE::SetOffline(), SBUSE::SetOnline(), TCUSE::SetOnline(), Scan::ShipScanResult(), SpawnMgr::StartRatGroupTimer(), SpawnMgr::StartRatTimer(), and SystemBubble::SystemBubble().
|
inline |
Definition at line 84 of file SystemManager.h.
References m_data, and SystemData::name.
Referenced by CynoModule::Activate(), BubbleManager::Add(), AnomalyMgr::Close(), Command_list(), Command_siglist(), WormholeMgr::Create(), AnomalyMgr::CreateAnomaly(), WormholeMgr::CreateExit(), Client::DockToStation(), SpawnMgr::Init(), AnomalyMgr::Init(), BeltMgr::Init(), DungeonMgr::Init(), BeltMgr::Load(), SpawnMgr::MakeSpawn(), Client::MoveToLocation(), SpawnMgr::Process(), BeltMgr::Save(), BeltMgr::SpawnBelt(), SpawnMgr::StartRatGroupTimer(), and SpawnMgr::StartRatTimer().
|
inline |
Definition at line 83 of file SystemManager.h.
References m_data, and SystemData::name.
Referenced by SystemEntity::AwardSecurityStatus().
Definition at line 1461 of file SystemManager.cpp.
References m_npcs.
Referenced by SpawnMgr::WarpOutSpawn().
|
inline |
Definition at line 153 of file SystemManager.h.
References m_opStaticEntities.
Referenced by SBUSE::GetSBUs(), SafeToUnload(), SBUSE::SetOffline(), and SBUSE::SetOnline().
SystemEntity * SystemManager::GetPlanet | ( | uint32 | planetID | ) |
Definition at line 1484 of file SystemManager.cpp.
References m_planetMap.
Referenced by CustomsSE::CustomsSE().
|
protected |
Definition at line 1729 of file SystemManager.cpp.
Referenced by SetDockCount().
uint32 SystemManager::GetRandBeltID | ( | ) |
Definition at line 1283 of file SystemManager.cpp.
References m_beltCount, m_beltVector, and MakeRandomInt().
Referenced by NPCAIMgr::WarpOut().
|
inline |
Definition at line 103 of file SystemManager.h.
References m_activeRatSpawns.
Referenced by Command_list().
|
inline |
Definition at line 81 of file SystemManager.h.
References m_data, and SystemData::regionID.
Referenced by AnomalyMgr::CreateAnomaly(), DungeonMgr::GetFaction(), DungeonMgr::MakeDungeon(), SpawnMgr::PrepSpawn(), and TCUSE::SetOnline().
|
inline |
Definition at line 104 of file SystemManager.h.
References m_activeRoidSpawns.
Referenced by Command_list().
SystemEntity * SystemManager::GetSE | ( | uint32 | entityID | ) | const |
Definition at line 1454 of file SystemManager.cpp.
References m_entities.
Referenced by ShipSE::AbandonDrones(), ActiveModule::Activate(), ModuleManager::Activate(), DestinyManager::AttemptDockOperation(), DynamicEntityFactory::BuildEntity(), Command_kill(), Command_unspawn(), BeltMgr::Create(), PlanetMgrService::CreateBoundObject(), DestinyManager::DockingAccepted(), SystemGPoint::GetAnomalyPoint(), StructureSE::Init(), DestinyManager::IsTargetInvalid(), ObjectSystemEntity::Killed(), NPCAIMgr::SetWander(), BeltMgr::SpawnBelt(), and NPCAIMgr::WarpOut().
|
inline |
Definition at line 115 of file SystemManager.h.
References m_secValue.
Referenced by DungeonMgr::AddDecoToVector(), CynoModule::CanActivate(), AnomalyMgr::Init(), SpawnMgr::PrepSpawn(), JumpBridgeSE::SetOnline(), BeltMgr::SpawnBelt(), and Agent::UpdateStandings().
|
inline |
Definition at line 88 of file SystemManager.h.
References m_services.
Referenced by DynamicEntityFactory::BuildEntity(), WormholeMgr::Create(), DungeonMgr::Create(), Client::CreateShipSE(), Client::Eject(), ActiveModule::LaunchMissile(), NPCAIMgr::LaunchMissile(), ActiveModule::LaunchProbe(), BeltMgr::Load(), LoadSystemStatics(), SystemBubble::MarkBubble(), Client::ResetAfterPopped(), and BeltMgr::SpawnAsteroid().
ShipItemRef SystemManager::GetShipFromInventory | ( | uint32 | shipID | ) |
Definition at line 1469 of file SystemManager.cpp.
References Inventory::GetByID(), InventoryItem::GetMyInventory(), m_solarSystemRef, and RefPtr< ShipItem >::StaticCast().
Referenced by TradeService::TransferContainerContents().
void SystemManager::GetSpawnBubbles | ( | SpawnBubbleMap * | bubbleMap | ) |
Definition at line 1261 of file SystemManager.cpp.
References _log, is_log_enabled, m_data, m_ratBubbles, SystemData::name, and SystemData::systemID.
|
inline |
StationItemRef SystemManager::GetStationFromInventory | ( | uint32 | stationID | ) |
Definition at line 1479 of file SystemManager.cpp.
References Inventory::GetByID(), InventoryItem::GetMyInventory(), m_solarSystemRef, and RefPtr< StationItem >::StaticCast().
Referenced by Client::DockToStation(), Client::LoadStationHangar(), and Client::SelectCharacter().
|
inline |
Definition at line 106 of file SystemManager.h.
References m_npcs.
Referenced by Command_list().
|
inline |
Definition at line 89 of file SystemManager.h.
References InventoryItem::GetMyInventory(), and m_solarSystemRef.
|
inline |
|
inline |
Definition at line 85 of file SystemManager.h.
References m_data, and SystemData::securityClass.
Referenced by BeltMgr::SpawnBelt().
|
inline |
Definition at line 86 of file SystemManager.h.
References m_data, and SystemData::securityRating.
Referenced by PlanetSE::CreateCustomsOffice(), PlanetMgr::CreatePin(), Sentry::Killed(), CustomsSE::Killed(), NPC::Killed(), DroneSE::Killed(), StructureSE::Killed(), ShipSE::Killed(), PlanetSE::LoadExtras(), DungeonMgr::MakeDungeon(), SystemBubble::Process(), NPCAIMgr::Process(), SystemBubble::SetSpawnTimer(), BeltMgr::SpawnBelt(), and PlanetMgr::UpgradeCommandCenter().
|
inline |
Definition at line 98 of file SystemManager.h.
References m_activeGateSpawns.
Referenced by SpawnMgr::DoSpawnForBubble().
|
inline |
Definition at line 96 of file SystemManager.h.
References m_activeRatSpawns.
Referenced by SpawnMgr::DoSpawnForBubble().
|
inline |
|
inline |
Definition at line 71 of file SystemManager.h.
References m_loaded.
Referenced by SystemBubble::AddBallExclusive(), SystemBubble::MarkCenter(), SystemBubble::RemoveBall(), SystemBubble::RemoveBalls(), SystemBubble::SendAddBalls(), SystemBubble::SendAddBalls2(), and DestinyManager::SendDestinyUpdate().
|
private |
Definition at line 1751 of file SystemManager.cpp.
|
protected |
Definition at line 197 of file SystemManager.cpp.
References _log, SpawnMgr::Init(), AnomalyMgr::Init(), BeltMgr::Init(), DungeonMgr::Init(), m_anomMgr, m_beltCount, m_beltMgr, m_data, m_dungMgr, m_spawnMgr, SystemData::regionID, and SystemData::systemID.
Referenced by BootSystem().
|
protected |
Definition at line 493 of file SystemManager.cpp.
References _log, AddEntity(), DynamicEntityFactory::BuildEntity(), SystemEntity::GetPosition(), SystemGPoint::GetRandPointOnMoon(), Ga::GaVec3::isZero(), SystemDB::LoadPlayerDynamicEntities(), m_data, mGP, SystemData::name, SystemEntity::SetPosition(), sLog, and SystemData::systemID.
Referenced by BootSystem().
|
protected |
Definition at line 465 of file SystemManager.cpp.
References _log, AddEntity(), DynamicEntityFactory::BuildEntity(), SystemEntity::GetPosition(), SystemGPoint::GetRandPointOnPlanet(), Ga::GaVec3::isZero(), SystemDB::LoadSystemDynamicEntities(), m_data, mGP, SystemData::name, SystemEntity::SetPosition(), sLog, and SystemData::systemID.
Referenced by BootSystem().
|
protected |
Definition at line 380 of file SystemManager.cpp.
References _log, AddItemToInventory(), EVEDB::invGroups::Asteroid_Belt, AttrRadius, SystemEntity::GetSelf(), GetServiceMgr(), SystemEntity::IsBeltSE(), SystemEntity::IsGateSE(), SystemEntity::IsStationSE(), SystemEntity::LoadExtras(), SystemDB::LoadSystemStaticEntities(), m_beltCount, m_beltMgr, m_beltVector, m_data, m_entities, m_gateCount, m_gateMap, m_moonMap, m_planetMap, m_staticEntities, EVEDB::invGroups::Moon, SystemData::name, EVEDB::invGroups::Planet, sBubbleMgr, sEntityList, BeltSE::SetBeltMgr(), sItemFactory, sLog, EVEDB::invGroups::Stargate, EVEDB::invGroups::Station, EVEDB::invGroups::Sun, and SystemData::systemID.
Referenced by BootSystem().
void SystemManager::MakeSetState | ( | const SystemBubble * | pBubble, |
SetState & | into | ||
) | const |
Definition at line 1288 of file SystemManager.cpp.
References _log, Buffer::Append(), SystemData::constellationID, Destiny::DumpUpdate(), SystemBubble::GetDroneState(), SystemBubble::GetEntities(), is_log_enabled, m_data, m_opStaticEntities, m_staticEntities, m_ticEntities, SystemData::name, Destiny::AddBall_header::packet_type, PyStatic, sDataMgr, PyPackedRow::SetField(), Destiny::AddBall_header::stamp, and SystemData::systemID.
Referenced by DestinyManager::SendSetState().
|
private |
Definition at line 1711 of file SystemManager.cpp.
References GetFileTimeNow(), EvE::Time::Hour, m_data, m_killData, SystemData::systemID, and MapDB::UpdateKillData().
Referenced by UpdateData().
|
protected |
["description" => <92: << jnlRef:CorpBountyTax?
Definition at line 1180 of file SystemManager.cpp.
References _log, Journal::EntryType::BountyPrizes, corpCONCORD, m_bountyMap, m_data, m_ratMap, SystemData::name, SystemData::systemID, and AccountService::TranserFunds().
Referenced by ProcessTic(), and UnloadSystem().
|
inline |
Definition at line 105 of file SystemManager.h.
References m_players.
Referenced by Command_list(), and NPCAIMgr::WarpOut().
bool SystemManager::ProcessTic | ( | ) |
Definition at line 221 of file SystemManager.cpp.
References Timer::Check(), GetTimeUSeconds(), m_anomMgr, m_beltCount, m_beltMgr, m_bountyTimer, m_dungMgr, m_entityChanged, m_minutetimer, m_opStaticEntities, m_planetMap, m_spawnMgr, m_ticEntities, PayBounties(), SpawnMgr::Process(), AnomalyMgr::Process(), BeltMgr::Process(), DungeonMgr::Process(), sConfig, sProfiler, Profile::system, and SystemActivity().
void SystemManager::RemoveClient | ( | Client * | pClient, |
bool | count = false , |
||
bool | jump = false |
||
) |
Definition at line 949 of file SystemManager.cpp.
References _log, MapDB::AddJump(), Client::GetCharacterID(), Client::GetName(), m_clients, m_data, m_jumpMap, m_players, SystemData::name, sEntityList, and SystemData::systemID.
Referenced by Client::MoveToLocation(), and Client::~Client().
void SystemManager::RemoveEntity | ( | SystemEntity * | pSE | ) |
Definition at line 1075 of file SystemManager.cpp.
References SystemEntity::GetID(), SystemEntity::GetSelf(), itemID(), m_anomMgr, m_entityChanged, m_staticEntities, m_ticEntities, RemoveItemFromInventory(), AnomalyMgr::RemoveSignal(), and sBubbleMgr.
Referenced by Client::Board(), BeltMgr::ClearAll(), Command_kill(), Command_unspawn(), SystemEntity::Delete(), Client::DestroyShipSE(), StructureSE::Init(), Client::MoveToLocation(), SystemBubble::RemoveMarkers(), RemoveNPC(), and ProbeSE::RemoveProbe().
void SystemManager::RemoveItemFromInventory | ( | InventoryItemRef | item | ) |
Definition at line 1439 of file SystemManager.cpp.
References _log, InventoryItem::itemID(), m_data, m_entities, m_solarSystemRef, InventoryItem::name(), SystemData::name, SolarSystem::RemoveItemFromInventory(), and SystemData::systemID.
Referenced by RemoveEntity().
void SystemManager::RemoveNPC | ( | NPC * | pNPC | ) |
Definition at line 1023 of file SystemManager.cpp.
References _log, SystemEntity::GetID(), SystemEntity::GetName(), m_data, m_npcs, SystemData::name, RemoveEntity(), NPC::RemoveNPC(), sEntityList, and SystemData::systemID.
void SystemManager::RemoveSpawnBubble | ( | SystemBubble * | pBubble | ) |
Definition at line 1270 of file SystemManager.cpp.
References _log, SystemBubble::GetID(), is_log_enabled, SystemBubble::IsBelt(), SystemBubble::IsGate(), m_activeGateSpawns, m_activeRatSpawns, m_data, m_ratBubbles, SystemData::name, and SystemData::systemID.
Referenced by SpawnMgr::SpawnKilled().
|
private |
Definition at line 1694 of file SystemManager.cpp.
References EVEPOS::ProcState::Anchoring, GetOperationalStatics(), EVEPOS::ProcState::Offlining, EVEPOS::ProcState::Onlining, and EVEPOS::ProcState::Unanchoring.
Referenced by UpdateData().
void SystemManager::SendStaticBall | ( | SystemEntity * | pSE | ) |
Definition at line 1375 of file SystemManager.cpp.
References _log, Buffer::Append(), Destiny::DumpUpdate(), SystemEntity::EncodeDestiny(), SystemBubble::GetCenter(), SystemBubble::GetID(), SystemEntity::GetID(), SystemEntity::GetName(), SystemEntity::GetPosition(), is_log_enabled, SystemEntity::IsContainerSE(), m_clients, SystemEntity::MakeDamageState(), SystemEntity::MakeSlimItem(), Destiny::AddBall_header::packet_type, PyIncRef, SafeDelete(), sEntityList, PyTuple::SetItem(), Destiny::AddBall_header::stamp, and SystemEntity::SysBubble().
Referenced by AddEntity().
void SystemManager::SetDockCount | ( | Client * | pClient, |
bool | docked = false |
||
) |
Definition at line 985 of file SystemManager.cpp.
References _log, Client::GetCharacterID(), GetDockedCount(), Client::GetName(), GetPlayerCount(), m_data, m_docked, m_players, SystemData::name, sEntityList, SystemData::systemID, and MapDB::UpdatePilotCount().
Referenced by Client::CharNoLongerInStation(), and Client::CharNowInStation().
|
private |
Definition at line 282 of file SystemManager.cpp.
References m_activityTime, and sEntityList.
Referenced by ProcessTic().
void SystemManager::UnloadSystem | ( | ) |
Definition at line 292 of file SystemManager.cpp.
References _log, BeltMgr::ClearAll(), ManagerDB::ClearDungeons(), AnomalyMgr::Close(), SystemData::constellationID, InventoryItem::Delete(), InventoryItem::GetMyInventory(), SystemEntity::GetSelf(), ShipSE::GetShipItemRef(), SystemEntity::GetShipSE(), SystemEntity::GetStationSE(), SystemEntity::isGlobal(), SystemEntity::IsNPCSE(), SystemEntity::IsOperSE(), SystemEntity::IsProbeSE(), SystemEntity::IsShipSE(), SystemEntity::IsStaticEntity(), SystemEntity::IsStationSE(), ShipItem::LogOut(), PyServiceMgr::lsc_service, m_anomMgr, m_beltMgr, m_data, m_entities, m_loaded, m_npcs, m_opStaticEntities, m_services, m_solarSystemRef, m_staticEntities, m_ticEntities, SystemData::name, PayBounties(), SystemData::regionID, SafeDelete(), sBubbleMgr, sEntityList, MapDB::SetSystemActive(), sItemFactory, sLog, SystemData::systemID, LSCService::SystemUnload(), SystemEntity::TargetMgr(), Inventory::Unload(), TargetManager::Unload(), and StationSE::UnloadStation().
Referenced by ~SystemManager().
void SystemManager::UpdateData | ( | ) |
Definition at line 1664 of file SystemManager.cpp.
References m_activityTime, m_clients, m_data, m_docked, m_jumpMap, m_players, ManipulateTimeData(), SafeToUnload(), sEntityList, SystemData::systemID, and MapDB::UpdatePilotCount().
|
private |
Definition at line 203 of file SystemManager.h.
Referenced by DecGateSpawnCount(), IncGateSpawnCount(), and RemoveSpawnBubble().
|
private |
Definition at line 202 of file SystemManager.h.
Referenced by DecRatSpawnCount(), DoSpawnForBubble(), GetRatSpawnCount(), IncRatSpawnCount(), and RemoveSpawnBubble().
|
private |
Definition at line 204 of file SystemManager.h.
Referenced by DecRoidSpawnCount(), GetRoidSpawnCount(), and IncRoidSpawnCount().
|
private |
Definition at line 219 of file SystemManager.h.
Referenced by AddClient(), SystemActivity(), and UpdateData().
|
private |
Definition at line 177 of file SystemManager.h.
Referenced by AddEntity(), AddMarker(), GetAnomMgr(), LoadCosmicMgrs(), ProcessTic(), RemoveEntity(), UnloadSystem(), and ~SystemManager().
|
private |
Definition at line 200 of file SystemManager.h.
Referenced by BeltCount(), DoSpawnForBubble(), GetRandBeltID(), LoadCosmicMgrs(), LoadSystemStatics(), and ProcessTic().
|
private |
Definition at line 178 of file SystemManager.h.
Referenced by GetBeltMgr(), LoadCosmicMgrs(), LoadSystemStatics(), ProcessTic(), UnloadSystem(), and ~SystemManager().
|
private |
Definition at line 205 of file SystemManager.h.
Referenced by GetRandBeltID(), LoadSystemStatics(), and SystemManager().
|
private |
Definition at line 233 of file SystemManager.h.
Referenced by AddBounty(), and PayBounties().
|
private |
Definition at line 231 of file SystemManager.h.
Referenced by BootSystem(), and ProcessTic().
Definition at line 224 of file SystemManager.h.
Referenced by AddClient(), AddMarker(), GetClientList(), GetDockedCount(), RemoveClient(), SendStaticBall(), SystemManager(), UpdateData(), and ~SystemManager().
|
private |
Definition at line 188 of file SystemManager.h.
Referenced by AddBounty(), AddClient(), AddEntity(), AddNPC(), BootSystem(), BuildDynamicEntity(), DoSpawnForBubble(), GetAllEntities(), GetConstellationID(), GetID(), GetName(), GetNameStr(), GetRegionID(), GetSpawnBubbles(), GetSystemSecurityClass(), GetSystemSecurityRating(), LoadCosmicMgrs(), LoadPlayerDynamics(), LoadSystemDynamics(), LoadSystemStatics(), MakeSetState(), ManipulateTimeData(), PayBounties(), RemoveClient(), RemoveItemFromInventory(), RemoveNPC(), RemoveSpawnBubble(), SetDockCount(), SystemManager(), UnloadSystem(), UpdateData(), and ~SystemManager().
|
private |
Definition at line 194 of file SystemManager.h.
Referenced by GetDockedCount(), SetDockCount(), and UpdateData().
|
private |
Definition at line 179 of file SystemManager.h.
Referenced by GetDungMgr(), LoadCosmicMgrs(), ProcessTic(), and ~SystemManager().
|
private |
Definition at line 225 of file SystemManager.h.
Referenced by AddEntity(), AddMarker(), DScan(), GetEntities(), GetSE(), LoadSystemStatics(), RemoveItemFromInventory(), SystemManager(), and UnloadSystem().
|
private |
Definition at line 222 of file SystemManager.h.
Referenced by AddEntity(), ProcessTic(), and RemoveEntity().
|
private |
Definition at line 201 of file SystemManager.h.
Referenced by LoadSystemStatics().
|
private |
Definition at line 212 of file SystemManager.h.
Referenced by GetClosestGateSE(), GetGates(), LoadSystemStatics(), and SystemManager().
Definition at line 196 of file SystemManager.h.
Referenced by AddClient(), RemoveClient(), SystemManager(), and UpdateData().
|
private |
Definition at line 193 of file SystemManager.h.
Referenced by BootSystem(), ManipulateTimeData(), and SystemManager().
|
private |
Definition at line 215 of file SystemManager.h.
Referenced by AddEntity(), BootSystem(), IsLoaded(), UnloadSystem(), and ~SystemManager().
|
private |
Definition at line 238 of file SystemManager.h.
Referenced by SystemManager().
|
private |
Definition at line 237 of file SystemManager.h.
Referenced by BootSystem(), and ProcessTic().
|
private |
Definition at line 210 of file SystemManager.h.
Referenced by GetClosestMoonSE(), LoadSystemStatics(), and SystemManager().
Definition at line 223 of file SystemManager.h.
Referenced by AddNPC(), GetNPCSE(), GetSysNPCCount(), RemoveNPC(), SystemManager(), and UnloadSystem().
|
private |
Definition at line 228 of file SystemManager.h.
Referenced by AddEntity(), BootSystem(), GetOperationalStatics(), MakeSetState(), ProcessTic(), SystemManager(), and UnloadSystem().
|
private |
Definition at line 211 of file SystemManager.h.
Referenced by GetClosestPlanetID(), GetClosestPlanetSE(), GetPlanet(), LoadSystemStatics(), ProcessTic(), and SystemManager().
|
private |
Definition at line 218 of file SystemManager.h.
Referenced by AddClient(), PlayerCount(), RemoveClient(), SetDockCount(), UpdateData(), and ~SystemManager().
|
private |
Definition at line 206 of file SystemManager.h.
Referenced by DoSpawnForBubble(), GetSpawnBubbles(), RemoveSpawnBubble(), and SystemManager().
|
private |
Definition at line 234 of file SystemManager.h.
Referenced by AddBounty(), and PayBounties().
|
private |
Definition at line 207 of file SystemManager.h.
Referenced by SystemManager().
|
private |
Definition at line 190 of file SystemManager.h.
Referenced by GetSecValue(), and SystemManager().
|
private |
Definition at line 182 of file SystemManager.h.
Referenced by BootSystem(), GetServiceMgr(), and UnloadSystem().
|
private |
Definition at line 183 of file SystemManager.h.
Referenced by AddEntity(), AddItemToInventory(), BootSystem(), GetContainerFromInventory(), GetShipFromInventory(), GetStationFromInventory(), GetSystemInv(), GetSystemRef(), RemoveItemFromInventory(), and UnloadSystem().
|
private |
Definition at line 180 of file SystemManager.h.
Referenced by DoSpawnForBubble(), GetSpawnMgr(), LoadCosmicMgrs(), ProcessTic(), and ~SystemManager().
|
private |
Definition at line 227 of file SystemManager.h.
Referenced by AddEntity(), LoadSystemStatics(), MakeSetState(), RemoveEntity(), SystemManager(), and UnloadSystem().
|
private |
Definition at line 226 of file SystemManager.h.
Referenced by AddEntity(), BootSystem(), GetAllEntities(), GetCurrentEntities(), MakeSetState(), ProcessTic(), RemoveEntity(), SystemManager(), and UnloadSystem().
|
private |
Definition at line 185 of file SystemManager.h.
Referenced by LoadPlayerDynamics(), and LoadSystemDynamics().