EvEmu
0.8.4
11 September 2021
|
#include "Missile.h"
Public Member Functions | |
Missile (InventoryItemRef self, PyServiceMgr &services, SystemManager *pSystem, InventoryItemRef modRef, SystemEntity *tSE, SystemEntity *pSE, GenericModule *pMod=nullptr) | |
virtual | ~Missile () |
virtual Missile * | GetMissileSE () |
virtual bool | IsMissileSE () |
virtual void | Delete () |
virtual void | Process () |
virtual void | EncodeDestiny (Buffer &into) |
virtual void | MakeDamageState (DoDestinyDamageState &into) |
virtual PyDict * | MakeSlimItem () |
uint32 | GetLauncherID () |
SystemEntity * | GetTargetSE () |
void | SetHitTimer (uint32 setTime) |
void | SetSpeed (double speed) |
bool | IsAlive () |
bool | IsOverloaded () |
double | GetSpeed () |
![]() | |
DynamicSystemEntity (InventoryItemRef self, PyServiceMgr &services, SystemManager *system) | |
virtual | ~DynamicSystemEntity () |
virtual DynamicSystemEntity * | GetDynamicSE () |
virtual bool | IsDynamicEntity () |
virtual void | UpdateDamage () |
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 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 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 | 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 | SetPilot (Client *pClient) |
virtual bool | HasPilot () |
virtual Client * | GetPilot () |
Protected Member Functions | |
void | HitTarget () |
void | EndOfLife () |
Protected Attributes | |
SystemEntity * | m_targetSE |
SystemEntity * | m_fromSE |
InventoryItemRef | m_modRef |
Timer | m_hitTimer |
Timer | m_lifeTimer |
bool | m_alive |
uint32 | m_orbitingID |
float | m_damageMod |
double | m_speed |
double | m_hullHP |
![]() | |
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 |
Missile::Missile | ( | InventoryItemRef | self, |
PyServiceMgr & | services, | ||
SystemManager * | pSystem, | ||
InventoryItemRef | modRef, | ||
SystemEntity * | tSE, | ||
SystemEntity * | pSE, | ||
GenericModule * | pMod = nullptr |
||
) |
Definition at line 39 of file Missile.cpp.
References EVEDB::invGroups::Advanced_Assault_Missile, EVEDB::invGroups::Advanced_Cruise_Missile, EVEDB::invGroups::Advanced_Heavy_Missile, EVEDB::invGroups::Advanced_Light_Missile, EVEDB::invGroups::Advanced_Rocket, EVEDB::invGroups::Advanced_Torpedo, EVEDB::invGroups::Assault_Missile, AttrAoeCloudSize, AttrAoeVelocity, AttrExplosionDelay, AttrMaxVelocity, AttrOverloadDamageModifier, EVEDB::invGroups::Citadel_Cruise, EVEDB::invGroups::Citadel_Torpedo, EvESkill::CitadelCruiseMissiles, EvESkill::CitadelTorpedoes, EVEDB::invGroups::Cruise_Missile, EvESkill::CruiseMissiles, EvESkill::CruiseMissileSpecialization, EVEDB::invGroups::Defender_Missile, EvESkill::DefenderMissiles, EVEDB::invGroups::FoF_Cruise_Missile, EVEDB::invGroups::FoF_Heavy_Missile, EVEDB::invGroups::FoF_Light_Missile, RefPtr< X >::get(), SystemEntity::GetAllianceID(), Client::GetChar(), SystemEntity::GetCorporationID(), ShipItem::GetLinkedCount(), SystemEntity::GetPilot(), ShipSE::GetShipItemRef(), SystemEntity::GetShipSE(), Character::GetSkillLevel(), SystemEntity::GetWarFactionID(), InventoryItem::groupID(), EvESkill::GuidedMissilePrecision, SystemEntity::HasPilot(), EVEDB::invGroups::Heavy_Missile, EvESkill::HeavyAssaultMissiles, EvESkill::HeavyAssaultMissileSpecialization, EvESkill::HeavyMissiles, EvESkill::HeavyMissileSpecialization, GenericModule::IsLinked(), IsOverloaded(), InventoryItem::itemID(), EVEDB::invGroups::Light_Missile, EvESkill::LightMissiles, EvESkill::LightMissileSpecialization, SystemEntity::m_allyID, SystemEntity::m_corpID, m_damageMod, m_fromSE, m_hullHP, m_lifeTimer, SystemEntity::m_ownerID, SystemEntity::m_self, SystemEntity::m_warID, EvESkill::MissileBombardment, EvESkill::MissileProjection, InventoryItem::MultiplyAttribute(), EVEDB::invGroups::Rocket, EvESkill::Rockets, EvESkill::RocketSpecialization, sConfig, Timer::Start(), EvESkill::TargetNavigationPrediction, EVEDB::invGroups::Torpedo, EvESkill::Torpedoes, EvESkill::TorpedoSpecialization, and EvESkill::WarheadUpgrades.
|
virtual |
Definition at line 146 of file Missile.cpp.
|
virtual |
Reimplemented from SystemEntity.
Definition at line 285 of file Missile.cpp.
References SystemEntity::Delete(), and m_alive.
Referenced by EndOfLife(), and Process().
|
virtual |
Reimplemented from DynamicSystemEntity.
Definition at line 172 of file Missile.cpp.
References _log, Destiny::MassSector::allianceID, Buffer::Append(), Destiny::MassSector::cloak, Destiny::MassSector::corporationID, Destiny::MISSILE_Struct::effectStamp, Destiny::BallHeader::entityID, Destiny::BallHeader::flags, Destiny::MISSILE_Struct::followRange, Destiny::MISSILE_Struct::formationID, DestinyManager::GetFollowDistance(), SystemEntity::GetID(), DestinyManager::GetInertia(), DestinyManager::GetMass(), SystemEntity::GetName(), SystemEntity::GetRadius(), DestinyManager::GetSpeedFraction(), DestinyManager::GetStateStamp(), DestinyManager::GetTargetID(), DestinyManager::GetVelocity(), Destiny::MassSector::harmonic, Destiny::DataSector::inertia, IsAlliance, Destiny::Ball::Flag::IsFree, SystemEntity::m_allyID, SystemEntity::m_corpID, SystemEntity::m_destiny, SystemEntity::m_harmonic, SystemEntity::m_ownerID, m_speed, Destiny::MassSector::mass, Destiny::DataSector::maxSpeed, Destiny::Ball::Mode::MISSILE, Destiny::BallHeader::mode, Destiny::MISSILE_Struct::ownerID, Destiny::BallHeader::posX, Destiny::BallHeader::posY, Destiny::BallHeader::posZ, Destiny::BallHeader::radius, Destiny::DataSector::speedfraction, Destiny::MISSILE_Struct::targetID, Destiny::DataSector::velX, Destiny::DataSector::velY, Destiny::DataSector::velZ, Destiny::MISSILE_Struct::x, Ga::GaVec3::x, SystemEntity::x(), Destiny::MISSILE_Struct::y, Ga::GaVec3::y, SystemEntity::y(), Destiny::MISSILE_Struct::z, Ga::GaVec3::z, and SystemEntity::z().
|
protected |
Definition at line 280 of file Missile.cpp.
References Delete(), and m_alive.
Referenced by Process().
|
inline |
Definition at line 57 of file Missile.h.
References SystemEntity::GetID(), and m_fromSE.
Referenced by DestinyManager::MakeMissile().
|
inlinevirtual |
|
inline |
Definition at line 66 of file Missile.h.
References m_speed.
Referenced by DestinyManager::MakeMissile().
|
inline |
Definition at line 58 of file Missile.h.
References m_targetSE.
Referenced by DestinyManager::MakeMissile().
|
protected |
Definition at line 240 of file Missile.cpp.
References SystemEntity::ApplyDamage(), AttrAoeCloudSize, AttrAoeDamageReductionFactor, AttrAoeDamageReductionSensitivity, AttrAoeVelocity, AttrSignatureRadius, EvilNumber::get_float(), InventoryItem::GetAttribute(), SystemEntity::GetSelf(), SystemEntity::GetVelocity(), Ga::GaVec3::length(), m_alive, m_damageMod, m_fromSE, m_modRef, SystemEntity::m_self, m_targetSE, EvE::min1(), and missileLaunching.
Referenced by Process().
|
inlinevirtual |
|
inline |
|
virtual |
Reimplemented from DynamicSystemEntity.
Definition at line 232 of file Missile.cpp.
References AttrDamage, AttrHP, EvilNumber::get_float(), InventoryItem::GetAttribute(), GetFileTimeNow(), and SystemEntity::m_self.
|
virtual |
Reimplemented from DynamicSystemEntity.
Definition at line 213 of file Missile.cpp.
References _log, InventoryItem::categoryID(), InventoryItem::groupID(), IsAlliance, IsCorp, IsFaction, InventoryItem::itemID(), InventoryItem::itemName(), SystemEntity::m_allyID, SystemEntity::m_corpID, m_modRef, SystemEntity::m_ownerID, SystemEntity::m_self, SystemEntity::m_warID, PyStatic, and InventoryItem::typeID().
|
virtual |
Reimplemented from SystemEntity.
Definition at line 151 of file Missile.cpp.
References Timer::Check(), Delete(), Timer::Disable(), EndOfLife(), GetTimeUSeconds(), HitTarget(), m_alive, m_hitTimer, m_lifeTimer, Profile::missile, SystemEntity::Process(), sConfig, and sProfiler.
|
inline |
Definition at line 60 of file Missile.h.
References m_hitTimer, and Timer::Start().
Referenced by ActiveModule::LaunchMissile(), and NPCAIMgr::LaunchMissile().
|
inline |
Definition at line 61 of file Missile.h.
References m_speed.
Referenced by ActiveModule::LaunchMissile(), and NPCAIMgr::LaunchMissile().
|
protected |
Definition at line 79 of file Missile.h.
Referenced by Delete(), EndOfLife(), HitTarget(), IsAlive(), and Process().
|
protected |
Definition at line 83 of file Missile.h.
Referenced by HitTarget(), and Missile().
|
protected |
Definition at line 70 of file Missile.h.
Referenced by GetLauncherID(), HitTarget(), and Missile().
|
protected |
Definition at line 76 of file Missile.h.
Referenced by Process(), and SetHitTimer().
|
protected |
|
protected |
|
protected |
Definition at line 71 of file Missile.h.
Referenced by HitTarget(), and MakeSlimItem().
|
protected |
Definition at line 85 of file Missile.h.
Referenced by EncodeDestiny(), GetSpeed(), and SetSpeed().
|
protected |
Definition at line 69 of file Missile.h.
Referenced by GetTargetSE(), and HitTarget().