EvEmu
0.8.4
11 September 2021
|
#include "PlanetMgr.h"
Public Member Functions | |
virtual | ~PlanetMgr () |
Private Attributes | |
PyServiceMgr * | m_svcMgr |
Client * | m_client |
Colony * | m_colony |
PlanetSE * | m_planet |
PlanetDB | m_db |
PlanetMgr.cpp | |
Specific Class for managing planet resources this is based on preliminary work by Comet0 : Allan
| |
PlanetMgr (PyServiceMgr *mgr, Client *pClient, PlanetSE *pPlanet, Colony *pColony) | |
PyRep * | UpdateNetwork (UUNCommandList &uuncl) |
bool | CreatePin (UUNCommand &nc) |
void | RemovePin (UUNCommand &nc) |
void | CreateLink (UUNCommand &nc) |
void | RemoveLink (UUNCommand &nc) |
void | SetLinkLevel (UUNCommand &nc) |
void | CreateRoute (UUNCommand &nc) |
void | RemoveRoute (UUNCommand &nc) |
void | SetSchematic (UUNCommand &nc) |
bool | UpgradeCommandCenter (UUNCommand &nc) |
void | AddExtractorHead (UUNCommand &nc) |
void | KillExtractorHead (UUNCommand &nc) |
void | MoveExtractorHead (UUNCommand &nc) |
void | InstallProgram (UUNCommand &nc) |
void | PrioritizeRoute (UUNCommand &nc) |
Definition at line 23 of file PlanetMgr.h.
PlanetMgr::PlanetMgr | ( | PyServiceMgr * | mgr, |
Client * | pClient, | ||
PlanetSE * | pPlanet, | ||
Colony * | pColony | ||
) |
Definition at line 29 of file PlanetMgr.cpp.
|
inlinevirtual |
Definition at line 27 of file PlanetMgr.h.
|
protected |
Definition at line 371 of file PlanetMgr.cpp.
References _log, Colony::AddExtractorHead(), args, m_client, m_colony, and Client::SendErrorMsg().
Referenced by UpdateNetwork().
|
protected |
Definition at line 250 of file PlanetMgr.cpp.
References _log, Colony::CreateLink(), m_client, m_colony, and Client::SendErrorMsg().
Referenced by UpdateNetwork().
|
protected |
Definition at line 115 of file PlanetMgr.cpp.
References _log, EVEDB::invGroups::Capsuleer_Bases, Account::KeyType::Cash, EVEDB::invGroups::Command_Centers, corpCONCORD, corpInterbus, Colony::CreateCommandPin(), PlanetSE::CreateCustomsOffice(), Colony::CreatePin(), EVEDB::invGroups::Extractor_Control_Units, EVEDB::invGroups::Extractors, Client::GetCharacterID(), PlanetSE::GetCustomsOffice(), SystemEntity::GetID(), SystemEntity::GetName(), SystemManager::GetSystemSecurityRating(), PyRep::IntegerValueU32(), m_client, m_colony, m_planet, EVEDB::invGroups::Mercenary_Bases, EVEDB::invGroups::Planetary_Links, Journal::EntryType::PlanetaryConstruction, EVEDB::invGroups::Processors, Client::SendErrorMsg(), sItemFactory, EVEDB::invGroups::Spaceports, EVEDB::invGroups::Storage_Facilities, SystemEntity::SystemMgr(), and AccountService::TranserFunds().
Referenced by UpdateNetwork().
|
protected |
Definition at line 297 of file PlanetMgr.cpp.
References _log, args, Colony::CreateRoute(), m_client, m_colony, PyIncRef, and Client::SendErrorMsg().
Referenced by UpdateNetwork().
|
protected |
Definition at line 397 of file PlanetMgr.cpp.
References _log, args, Colony::InstallProgram(), m_client, m_colony, and Client::SendErrorMsg().
Referenced by UpdateNetwork().
|
protected |
Definition at line 410 of file PlanetMgr.cpp.
References PyRep::IntegerValue(), Colony::KillExtractorHead(), and m_colony.
Referenced by UpdateNetwork().
|
protected |
Definition at line 384 of file PlanetMgr.cpp.
References _log, args, m_client, m_colony, Colony::MoveExtractorHead(), and Client::SendErrorMsg().
Referenced by UpdateNetwork().
|
protected |
Definition at line 415 of file PlanetMgr.cpp.
References _log, args, m_client, m_colony, Colony::PrioritizeRoute(), and Client::SendErrorMsg().
Referenced by UpdateNetwork().
|
protected |
Definition at line 328 of file PlanetMgr.cpp.
References _log, PyRep::IntegerValue(), m_colony, and Colony::RemoveLink().
Referenced by UpdateNetwork().
|
protected |
Definition at line 311 of file PlanetMgr.cpp.
References _log, PyRep::IntegerValue(), m_client, m_colony, Colony::RemovePin(), and Client::SendErrorMsg().
Referenced by UpdateNetwork().
|
protected |
Definition at line 336 of file PlanetMgr.cpp.
References _log, PyRep::IntegerValue(), m_client, m_colony, Colony::RemoveRoute(), and Client::SendErrorMsg().
Referenced by UpdateNetwork().
|
protected |
Definition at line 353 of file PlanetMgr.cpp.
References PyRep::IntegerValue(), m_colony, and Colony::UpgradeLink().
Referenced by UpdateNetwork().
|
protected |
Definition at line 360 of file PlanetMgr.cpp.
References PyRep::IntegerValue(), m_colony, and Colony::SetSchematic().
Referenced by UpdateNetwork().
PyRep * PlanetMgr::UpdateNetwork | ( | UUNCommandList & | uuncl | ) |
Definition at line 37 of file PlanetMgr.cpp.
References _log, PI::Command::AddExtractorHead, AddExtractorHead(), PI::Command::CreateLink, CreateLink(), PI::Command::CreatePin, CreatePin(), PI::Command::CreateRoute, CreateRoute(), Colony::GetColony(), PI::Command::InstallProgram, InstallProgram(), PI::Command::KillExtractorHead, KillExtractorHead(), m_client, m_colony, PI::Command::MoveExtractorHead, MoveExtractorHead(), PI::Command::PrioritizeRoute, PrioritizeRoute(), PI::Command::RemoveLink, RemoveLink(), PI::Command::RemovePin, RemovePin(), PI::Command::RemoveRoute, RemoveRoute(), Colony::Save(), Client::SendErrorMsg(), PI::Command::SetLinkLevel, SetLinkLevel(), PI::Command::SetSchematic, SetSchematic(), sPlanetDataMgr, PI::Command::UpgradeCommandCenter, and UpgradeCommandCenter().
|
protected |
Definition at line 78 of file PlanetMgr.cpp.
References Account::KeyType::Cash, corpCONCORD, corpInterbus, Client::GetCharacterID(), SystemEntity::GetID(), Colony::GetLevel(), SystemEntity::GetName(), SystemManager::GetSystemSecurityRating(), PyRep::IntegerValue(), PI::Pin::Level0, Agents::IskMult::Level1, Agents::IskMult::Level2, Agents::IskMult::Level3, Agents::IskMult::Level4, m_client, m_colony, m_planet, Journal::EntryType::PlanetaryConstruction, SystemEntity::SystemMgr(), AccountService::TranserFunds(), and Colony::UpgradeCommandCenter().
Referenced by UpdateNetwork().
|
private |
Definition at line 49 of file PlanetMgr.h.
Referenced by AddExtractorHead(), CreateLink(), CreatePin(), CreateRoute(), InstallProgram(), MoveExtractorHead(), PrioritizeRoute(), RemovePin(), RemoveRoute(), UpdateNetwork(), and UpgradeCommandCenter().
|
private |
Definition at line 50 of file PlanetMgr.h.
Referenced by AddExtractorHead(), CreateLink(), CreatePin(), CreateRoute(), InstallProgram(), KillExtractorHead(), MoveExtractorHead(), PrioritizeRoute(), RemoveLink(), RemovePin(), RemoveRoute(), SetLinkLevel(), SetSchematic(), UpdateNetwork(), and UpgradeCommandCenter().
|
private |
Definition at line 53 of file PlanetMgr.h.
|
private |
Definition at line 51 of file PlanetMgr.h.
Referenced by CreatePin(), and UpgradeCommandCenter().
|
private |
Definition at line 48 of file PlanetMgr.h.