EvEmu
0.8.4
11 September 2021
|
#include "SystemEntity.h"
Public Member Functions | |
DynamicSystemEntity (InventoryItemRef self, PyServiceMgr &services, SystemManager *system) | |
virtual | ~DynamicSystemEntity () |
virtual DynamicSystemEntity * | GetDynamicSE () |
virtual bool | IsDynamicEntity () |
virtual void | UpdateDamage () |
virtual void | EncodeDestiny (Buffer &into) |
virtual void | MakeDamageState (DoDestinyDamageState &into) |
virtual PyDict * | MakeSlimItem () |
virtual bool | Load () |
virtual bool | IsInvul () |
virtual bool | IsFrozen () |
void | AwardBounty (Client *pClient) |
void | SetInvul (bool invul=false) |
void | SetFrozen (bool frozen=false) |
![]() | |
SystemEntity (InventoryItemRef self, PyServiceMgr &services, SystemManager *system) | |
virtual | ~SystemEntity () |
virtual void | Process () |
virtual bool | ProcessTic () |
virtual SystemEntity * | GetSE () |
virtual StaticSystemEntity * | GetStaticSE () |
virtual StationSE * | GetStationSE () |
virtual PlanetSE * | GetPlanetSE () |
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 NPC * | GetNPCSE () |
virtual DroneSE * | GetDroneSE () |
virtual Missile * | GetMissileSE () |
virtual ShipSE * | GetShipSE () |
virtual Concord * | GetConcordSE () |
virtual bool | isGlobal () |
virtual bool | IsSystemEntity () |
virtual bool | IsInanimateSE () |
virtual bool | IsStaticEntity () |
virtual bool | IsBeltSE () |
virtual bool | IsGateSE () |
virtual bool | IsPlanetSE () |
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 | IsLogin () |
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 | MissileLaunched (Missile *pMissile) |
virtual bool | LoadExtras () |
virtual void | Delete () |
virtual void | SetPilot (Client *pClient) |
virtual bool | HasPilot () |
virtual Client * | GetPilot () |
Private Attributes | |
bool | m_invul |
bool | m_frozen |
Additional Inherited Members | |
![]() | |
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 |
Definition at line 471 of file SystemEntity.h.
DynamicSystemEntity::DynamicSystemEntity | ( | InventoryItemRef | self, |
PyServiceMgr & | services, | ||
SystemManager * | system | ||
) |
Definition at line 600 of file SystemEntity.cpp.
References SystemEntity::m_destiny, and SystemEntity::m_targMgr.
|
virtual |
Definition at line 612 of file SystemEntity.cpp.
References TargetManager::ClearAllTargets(), TargetManager::ClearModules(), SystemEntity::m_destiny, SystemEntity::m_targMgr, SafeDelete(), and sConsole.
void DynamicSystemEntity::AwardBounty | ( | Client * | pClient | ) |
Definition at line 702 of file SystemEntity.cpp.
References SystemManager::AddBounty(), BountyData::amount, AttrEntityKillBounty, Journal::EntryType::BountyPrize, Account::KeyType::Cash, corpCONCORD, BountyData::fromID, BountyData::fromKey, EvilNumber::get_double(), InventoryItem::GetAttribute(), Client::GetCharacterID(), Client::GetName(), Client::GetSystemName(), SystemEntity::GetTypeID(), Client::InFleet(), InventoryItem::itemID(), SystemEntity::m_self, SystemEntity::m_system, Stat::npcBounties, BountyData::reason, BountyData::refTypeID, sConfig, sFltSvc, sStatMgr, BountyData::toID, BountyData::toKey, and AccountService::TranserFunds().
Referenced by NPC::Killed(), and DroneSE::Killed().
|
virtual |
Reimplemented from SystemEntity.
Reimplemented in ShipSE, WreckSE, StructureSE, DroneSE, NPC, and Missile.
Definition at line 643 of file SystemEntity.cpp.
References _log, Destiny::MassSector::allianceID, Buffer::Append(), Destiny::MassSector::cloak, Destiny::MassSector::corporationID, Destiny::BallHeader::entityID, Destiny::BallHeader::flags, Destiny::STOP_Struct::formationID, DestinyManager::GetInertia(), DestinyManager::GetMass(), DestinyManager::GetMaxVelocity(), SystemEntity::GetName(), DestinyManager::GetSpeedFraction(), DestinyManager::GetVelocity(), Destiny::MassSector::harmonic, Destiny::DataSector::inertia, IsAlliance, DestinyManager::IsCloaked(), Destiny::Ball::Flag::IsFree, InventoryItem::itemID(), SystemEntity::m_allyID, SystemEntity::m_corpID, SystemEntity::m_destiny, SystemEntity::m_harmonic, SystemEntity::m_radius, SystemEntity::m_self, main(), Destiny::MassSector::mass, Destiny::DataSector::maxSpeed, Destiny::BallHeader::mode, Destiny::BallHeader::posX, Destiny::BallHeader::posY, Destiny::BallHeader::posZ, Destiny::BallHeader::radius, Destiny::DataSector::speedfraction, Destiny::Ball::Mode::STOP, Destiny::DataSector::velX, Destiny::DataSector::velY, Destiny::DataSector::velZ, Ga::GaVec3::x, SystemEntity::x(), Ga::GaVec3::y, SystemEntity::y(), Ga::GaVec3::z, and SystemEntity::z().
|
inlinevirtual |
Reimplemented from SystemEntity.
Definition at line 477 of file SystemEntity.h.
|
inlinevirtual |
Reimplemented from SystemEntity.
Definition at line 482 of file SystemEntity.h.
|
inlinevirtual |
Reimplemented from SystemEntity.
Reimplemented in ShipSE.
Definition at line 494 of file SystemEntity.h.
References m_frozen.
|
inlinevirtual |
Reimplemented from SystemEntity.
Reimplemented in ShipSE.
Definition at line 493 of file SystemEntity.h.
References m_invul.
|
inlinevirtual |
Reimplemented in NPC.
Definition at line 492 of file SystemEntity.h.
Referenced by NPC::Load().
|
virtual |
Reimplemented from SystemEntity.
Reimplemented in ShipSE, ProbeSE, DroneSE, and Missile.
Definition at line 677 of file SystemEntity.cpp.
References AttrArmorDamage, AttrArmorHP, AttrDamage, AttrHP, AttrShieldCapacity, AttrShieldCharge, AttrShieldRechargeRate, EvilNumber::get_double(), InventoryItem::GetAttribute(), GetFileTimeNow(), and SystemEntity::m_self.
|
virtual |
Reimplemented from SystemEntity.
Reimplemented in ShipSE, WreckSE, StructureSE, ProbeSE, DroneSE, Missile, and TowerSE.
Definition at line 625 of file SystemEntity.cpp.
References _log, SystemEntity::GetName(), IsAlliance, IsCorp, IsFaction, SystemEntity::IsNPCSE(), InventoryItem::itemID(), InventoryItem::itemName(), SystemEntity::m_allyID, SystemEntity::m_corpID, SystemEntity::m_ownerID, SystemEntity::m_self, SystemEntity::m_warID, SystemEntity::MakeSlimItem(), PyStatic, and InventoryItem::typeID().
|
inline |
|
inline |
|
virtual |
Reimplemented from SystemEntity.
Definition at line 685 of file SystemEntity.cpp.
References AttrArmorDamage, AttrArmorHP, AttrDamage, AttrHP, AttrShieldCapacity, AttrShieldCharge, AttrShieldRechargeRate, EvilNumber::get_double(), InventoryItem::GetAttribute(), GetFileTimeNow(), InventoryItem::itemID(), SystemEntity::m_self, and SystemEntity::UpdateDamage().
Referenced by NPC::UseArmorRepairer(), NPC::UseHullRepairer(), and NPC::UseShieldRecharge().
|
private |
Definition at line 504 of file SystemEntity.h.
Referenced by IsFrozen(), and SetFrozen().
|
private |
Definition at line 503 of file SystemEntity.h.
Referenced by IsInvul(), and SetInvul().