|
EvEmu
0.8.4
11 September 2021
|
#include "Planet.h"


Public Member Functions | |
| virtual PlanetSE * | GetPlanetSE () |
| virtual bool | IsPlanetSE () |
| bool | HasCOSE () |
| void | SetCustomsOffice (CustomsSE *pSE) |
| CustomsSE * | GetCustomsOffice () |
| bool | HasColony () |
Planet.cpp | |
Specific Class for individual planets. this class will hold all planet data and relative info for each planet. : Allan
| |
| PlanetSE (InventoryItemRef self, PyServiceMgr &services, SystemManager *system) | |
| virtual | ~PlanetSE () |
| virtual void | Process () |
| virtual bool | LoadExtras () |
| PyRep * | GetPlanetInfo (Colony *pColony) |
| PyRep * | GetResourceData (Call_ResourceDataDict &dict) |
| PyRep * | GetPlanetResourceInfo () |
| PyRep * | GetExtractorsForPlanet (int32 planetID) |
| void | AbandonColony (Colony *pColony) |
| Colony * | GetColony (Client *pClient) |
| void | CreateCustomsOffice () |
Public Member Functions inherited from StaticSystemEntity | |
| StaticSystemEntity (InventoryItemRef self, PyServiceMgr &services, SystemManager *system) | |
| virtual | ~StaticSystemEntity () |
| virtual StaticSystemEntity * | GetStaticSE () |
| virtual bool | isGlobal () |
| virtual bool | IsInanimateSE () |
| virtual bool | IsStaticEntity () |
| virtual void | EncodeDestiny (Buffer &into) |
| virtual PyDict * | MakeSlimItem () |
Public Member Functions inherited from SystemEntity | |
| SystemEntity (InventoryItemRef self, PyServiceMgr &services, SystemManager *system) | |
| virtual | ~SystemEntity () |
| virtual bool | ProcessTic () |
| virtual SystemEntity * | GetSE () |
| virtual StationSE * | GetStationSE () |
| virtual MoonSE * | GetMoonSE () |
| virtual StargateSE * | GetGateSE () |
| virtual BeltSE * | GetBeltSE () |
| virtual ItemSystemEntity * | GetItemSE () |
| virtual ContainerSE * | GetContSE () |
| virtual WreckSE * | GetWreckSE () |
| virtual AnomalySE * | GetAnomalySE () |
| virtual WormholeSE * | GetWormholeSE () |
| virtual FieldSE * | GetFieldSE () |
| virtual ProbeSE * | GetProbeSE () |
| virtual ObjectSystemEntity * | GetObjectSE () |
| virtual AsteroidSE * | GetAsteroidSE () |
| virtual StructureSE * | GetPOSSE () |
| virtual StructureSE * | GetJammerSE () |
| virtual JumpBridgeSE * | GetJumpBridgeSE () |
| virtual StructureSE * | GetOutpostSE () |
| virtual TowerSE * | GetTowerSE () |
| virtual ArraySE * | GetArraySE () |
| virtual WeaponSE * | GetWeaponSE () |
| virtual BatterySE * | GetBatterySE () |
| virtual DeployableSE * | GetDeployableSE () |
| virtual Sentry * | GetSentrySE () |
| virtual ModuleSE * | GetModuleSE () |
| virtual ReactorSE * | GetReactorSE () |
| virtual CustomsSE * | GetCOSE () |
| virtual TCUSE * | GetTCUSE () |
| virtual SBUSE * | GetSBUSE () |
| virtual IHubSE * | GetIHubSE () |
| virtual DynamicSystemEntity * | GetDynamicSE () |
| virtual NPC * | GetNPCSE () |
| virtual DroneSE * | GetDroneSE () |
| virtual Missile * | GetMissileSE () |
| virtual ShipSE * | GetShipSE () |
| virtual Concord * | GetConcordSE () |
| virtual bool | IsSystemEntity () |
| virtual bool | IsBeltSE () |
| virtual bool | IsGateSE () |
| virtual bool | IsMoonSE () |
| virtual bool | IsStationSE () |
| virtual bool | IsItemEntity () |
| virtual bool | IsAnomalySE () |
| virtual bool | IsWormholeSE () |
| virtual bool | IsCelestialSE () |
| virtual bool | IsContainerSE () |
| virtual bool | IsFieldSE () |
| virtual bool | IsProbeSE () |
| virtual bool | IsObjectEntity () |
| virtual bool | IsSentrySE () |
| virtual bool | IsPOSSE () |
| virtual bool | IsCOSE () |
| virtual bool | IsTCUSE () |
| virtual bool | IsSBUSE () |
| virtual bool | IsIHubSE () |
| virtual bool | IsTowerSE () |
| virtual bool | IsArraySE () |
| virtual bool | IsJammerSE () |
| virtual bool | IsWeaponSE () |
| virtual bool | IsBatterySE () |
| virtual bool | IsModuleSE () |
| virtual bool | IsMoonMiner () |
| virtual bool | IsOutpostSE () |
| virtual bool | IsAsteroidSE () |
| virtual bool | IsDeployableSE () |
| virtual bool | IsJumpBridgeSE () |
| virtual bool | IsReactorSE () |
| virtual bool | IsOperSE () |
| virtual bool | IsDynamicEntity () |
| virtual bool | IsLogin () |
| virtual bool | IsInvul () |
| virtual bool | IsFrozen () |
| virtual bool | IsNPCSE () |
| virtual bool | IsDroneSE () |
| virtual bool | IsWreckSE () |
| virtual bool | IsMissileSE () |
| virtual bool | IsShipSE () |
| virtual bool | IsConcord () |
| PyServiceMgr & | GetServices () |
| SystemBubble * | SysBubble () |
| SystemManager * | SystemMgr () |
| TargetManager * | TargetMgr () |
| DestinyManager * | DestinyMgr () |
| InventoryItemRef | GetSelf () |
| uint16 | GetTypeID () |
| uint32 | GetGroupID () |
| uint8 | GetCategoryID () |
| EVEItemFlags | GetFlag () |
| uint32 | GetID () |
| double | GetRadius () |
| uint32 | GetLocationID () |
| const char * | GetName () const |
| const GPoint & | GetPosition () const |
| void | SetPosition (const GPoint &pos) |
| double | x () |
| double | y () |
| double | z () |
| int32 | GetAllianceID () |
| int32 | GetWarFactionID () |
| uint32 | GetCorporationID () |
| uint32 | GetOwnerID () |
| uint32 | GetFleetID () |
| void | SetFleetID (uint32 set) |
| int8 | GetHarmonic () |
| void | SetHarmonic (int8 set) |
| void | DropLoot (WreckContainerRef wreckRef, uint32 groupID, uint32 owner) |
| void | AwardSecurityStatus (InventoryItemRef iRef, Character *pChar) |
| void | SendDamageStateChanged () |
| bool | ApplyDamage (Damage &d) |
| double | DistanceTo2 (const SystemEntity *other) |
| PyTuple * | MakeDamageState () |
| virtual void | Abandon () |
| const bool | IsDead () |
| const GVector & | GetVelocity () |
| virtual void | Killed (Damage &fatal_blow) |
| virtual void | MakeDamageState (DoDestinyDamageState &into) |
| virtual void | MissileLaunched (Missile *pMissile) |
| virtual void | UpdateDamage () |
| virtual void | Delete () |
| virtual void | SetPilot (Client *pClient) |
| virtual bool | HasPilot () |
| virtual Client * | GetPilot () |
Protected Attributes | |
| CustomsSE * | pCO |
| PlanetResourceData | m_data |
Protected Attributes inherited from SystemEntity | |
| SystemBubble * | m_bubble |
| SystemManager * | m_system |
| TargetManager * | m_targMgr |
| DestinyManager * | m_destiny |
| PyServiceMgr & | m_services |
| InventoryItemRef | m_self |
| bool | m_killed |
| double | m_radius |
| int32 | m_harmonic |
| int32 | m_warID |
| int32 | m_allyID |
| uint32 | m_corpID |
| uint32 | m_fleetID |
| uint32 | m_ownerID |
Private Attributes | |
| std::map< uint16, std::string > | m_typeBuffers |
| std::map< uint32, Colony * > | m_colonies |
| PlanetSE::PlanetSE | ( | InventoryItemRef | self, |
| PyServiceMgr & | services, | ||
| SystemManager * | system | ||
| ) |
Definition at line 45 of file Planet.cpp.
References m_data.
|
virtual |
Definition at line 52 of file Planet.cpp.
References m_colonies, and SafeDelete().

| void PlanetSE::AbandonColony | ( | Colony * | pColony | ) |
Definition at line 266 of file Planet.cpp.
References Colony::AbandonColony(), Colony::GetOwner(), and m_colonies.

| void PlanetSE::CreateCustomsOffice | ( | ) |
Definition at line 272 of file Planet.cpp.
References SystemManager::AddEntity(), FactionData::allianceID, corpCONCORD, corpInterbus, FactionData::corporationID, EvE::Trig::Deg2Rad(), factionCONCORD, FactionData::factionID, factionInterBus, flagNone, SystemManager::GetID(), SystemEntity::GetPosition(), SystemEntity::GetRadius(), SystemManager::GetSystemSecurityRating(), CustomsSE::Init(), EVEDB::invTypes::InterbusCustomsOffice, InventoryItem::itemID(), itoa(), SystemEntity::m_self, SystemEntity::m_services, SystemEntity::m_system, MakeRandomInt(), FactionData::ownerID, pCO, EVEDB::invTypes::PlanetaryCustomsOffice, sItemFactory, Ga::GaVec3::x, Ga::GaVec3::y, and Ga::GaVec3::z.
Referenced by PlanetMgr::CreatePin().


Definition at line 255 of file Planet.cpp.
References Client::GetCharacterID(), m_colonies, and SystemEntity::m_services.

|
inline |
Definition at line 68 of file Planet.h.
References pCO.
Referenced by PlanetMgr::CreatePin(), and Colony::PlanetXfer().

Definition at line 230 of file Planet.cpp.
References PyList::AddItem(), PyRep::Dump(), PlanetDB::GetExtractorsForPlanet(), DBResultRow::GetFloat(), DBResultRow::GetInt(), DBQueryResult::GetRow(), is_log_enabled, and PyDict::SetItem().

Definition at line 209 of file Planet.cpp.
References args, PyRep::Dump(), SystemManager::GetID(), Colony::GetLevel(), Colony::GetLinks(), Colony::GetPins(), SystemEntity::GetRadius(), Colony::GetRoutes(), Colony::GetSimTime(), Colony::HasColony(), is_log_enabled, InventoryItem::itemID(), SystemEntity::m_self, SystemEntity::m_system, PyDict::SetItem(), and InventoryItem::typeID().

| PyRep * PlanetSE::GetPlanetResourceInfo | ( | ) |
Definition at line 196 of file Planet.cpp.
References PlanetResourceData::dist_1, PlanetResourceData::dist_2, PlanetResourceData::dist_3, PlanetResourceData::dist_4, PlanetResourceData::dist_5, PyRep::Dump(), is_log_enabled, m_data, PyDict::SetItem(), PlanetResourceData::type_1, PlanetResourceData::type_2, PlanetResourceData::type_3, PlanetResourceData::type_4, and PlanetResourceData::type_5.

|
inlinevirtual |
| PyRep * PlanetSE::GetResourceData | ( | Call_ResourceDataDict & | dict | ) |
Definition at line 136 of file Planet.cpp.
References _log, args, PyRep::Dump(), is_log_enabled, m_typeBuffers, and sPIDataMgr.

|
inline |
|
inlinevirtual |
|
virtual |
Reimplemented from StaticSystemEntity.
Definition at line 60 of file Planet.cpp.
References PlanetResourceData::buffer_1, PlanetResourceData::buffer_2, PlanetResourceData::buffer_3, PlanetResourceData::buffer_4, PlanetResourceData::buffer_5, PlanetResourceData::dist_1, PlanetResourceData::dist_2, PlanetResourceData::dist_3, PlanetResourceData::dist_4, PlanetResourceData::dist_5, SystemManager::GetSystemSecurityRating(), hexList, StaticSystemEntity::LoadExtras(), m_data, SystemEntity::m_self, SystemEntity::m_system, m_typeBuffers, MakeRandomFloat(), MakeRandomInt(), EvE::min(), sPlanetDataMgr, PlanetResourceData::type_1, PlanetResourceData::type_2, PlanetResourceData::type_3, PlanetResourceData::type_4, PlanetResourceData::type_5, and InventoryItem::typeID().

|
virtual |
|
inline |
Definition at line 67 of file Planet.h.
References pCO.
Referenced by DynamicEntityFactory::BuildEntity(), and ObjectSystemEntity::Killed().

Definition at line 84 of file Planet.h.
Referenced by AbandonColony(), GetColony(), HasColony(), Process(), and ~PlanetSE().
|
protected |
Definition at line 74 of file Planet.h.
Referenced by GetPlanetResourceInfo(), LoadExtras(), and PlanetSE().
|
private |
Definition at line 77 of file Planet.h.
Referenced by GetResourceData(), and LoadExtras().
|
protected |
Definition at line 73 of file Planet.h.
Referenced by CreateCustomsOffice(), GetCustomsOffice(), HasCOSE(), and SetCustomsOffice().