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


Public Member Functions | |
| bool | ApplyDamage (Damage &d) |
| void | Killed (Damage &fatal_blow) |
| void | TargetAdded (SystemEntity *who) |
| void | TargetedLost (SystemEntity *who) |
| void | TargetsCleared () |
| float | GetThermal () |
| float | GetEM () |
| float | GetKinetic () |
| float | GetExplosive () |
| double | GetOrbitRange () |
| SystemManager * | SystemMgr () const |
| ConcordAI * | AI () const |
Public Member Functions inherited from DynamicSystemEntity | |
| 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) |
Public Member Functions inherited from SystemEntity | |
| 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 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 | MissileLaunched (Missile *pMissile) |
| virtual bool | LoadExtras () |
| virtual void | Delete () |
| virtual void | SetPilot (Client *pClient) |
| virtual bool | HasPilot () |
| virtual Client * | GetPilot () |
Protected Member Functions | |
| void | _AwardBounty (SystemEntity *who) |
| void | DropLoot (uint32 groupID, uint32 owner, uint32 locationID) |
Protected Attributes | |
| SystemManager *const | m_system |
| PyServiceMgr & | m_services |
| ConcordSpawnMgr * | m_spawnMgr |
| ConcordAI * | m_AI |
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 | |
| uint32 | m_orbitingID = 0 |
| double | m_orbitRange = 0 |
| double | m_emDamage = 0 |
| double | m_expDamage = 0 |
| double | m_kinDamage = 0 |
| double | m_therDamage = 0 |
| double | m_hullDamage = 0 |
| double | m_armorDamage = 0 |
| double | m_shieldCharge = 0 |
| double | m_shieldCapacity = 0 |
Concord.cpp | |
this file is for Concord AI and other concord-specific code as it is written. : Allan
| |
| Concord (SystemManager *system, PyServiceMgr &services, InventoryItemRef self, const GPoint &position, ConcordSpawnMgr *spawnMgr) | |
| virtual | ~Concord () |
| void | Orbit (SystemEntity *who) |
| void | Process () |
| void | EncodeDestiny (Buffer &into) const |
| void | MakeDamageState (DoDestinyDamageState &into) const |
| void | TargetLost (SystemEntity *who) |
| void | TargetedAdd (SystemEntity *who) |
| void | UseShieldRecharge () |
| void | UseArmorRepairer () |
| void | _UpdateDamage () |
| void | SetResists () |
| Concord::Concord | ( | SystemManager * | system, |
| PyServiceMgr & | services, | ||
| InventoryItemRef | self, | ||
| const GPoint & | position, | ||
| ConcordSpawnMgr * | spawnMgr | ||
| ) |
Definition at line 31 of file Concord.cpp.
References AttrArmorDamage, AttrCapacitorCapacity, AttrCapacitorCharge, AttrCapacity, AttrDamage, AttrEmDamage, AttrExplosiveDamage, AttrFalloff, AttrInertia, AttrKineticDamage, AttrMass, AttrMaxRange, AttrOrbitRange, AttrRadius, AttrShieldCapacity, AttrShieldCharge, AttrThermalDamage, AttrVolume, AttrWarpCapacitorNeed, ItemType::capacity(), corpCONCORD, EvilOne, EvilZero, factionCONCORD, EvilNumber::get_float(), EvilNumber::get_int(), InventoryItem::GetAttribute(), m_AI, SystemEntity::m_allyID, m_armorDamage, SystemEntity::m_corpID, SystemEntity::m_destiny, m_emDamage, m_expDamage, m_hullDamage, m_kinDamage, m_orbitRange, SystemEntity::m_self, m_shieldCapacity, m_shieldCharge, m_therDamage, SystemEntity::m_warID, ItemType::mass(), ItemType::radius(), InventoryItem::SetAttribute(), SetResists(), InventoryItem::type(), DestinyManager::UpdateShipVariables(), and ItemType::volume().

|
virtual |
Definition at line 88 of file Concord.cpp.
References m_AI, and SafeDelete().

|
protected |
|
protected |
Definition at line 234 of file Concord.cpp.
References AttrArmorDamage, AttrArmorHP, AttrDamage, AttrHP, AttrShieldCapacity, AttrShieldCharge, AttrShieldRechargeRate, EvilNumber::get_float(), InventoryItem::GetAttribute(), GetFileTimeNow(), SystemEntity::GetID(), and SystemEntity::m_self.
Referenced by UseArmorRepairer(), and UseShieldRecharge().


|
inline |
Definition at line 70 of file Concord.h.
References m_AI.
Referenced by UseArmorRepairer(), and UseShieldRecharge().

| bool Concord::ApplyDamage | ( | Damage & | d | ) |
| void Concord::EncodeDestiny | ( | Buffer & | into | ) | const |
Definition at line 120 of file Concord.cpp.
References _log, Destiny::MassSector::allianceID, Buffer::Append(), Destiny::MassSector::cloak, Destiny::MassSector::corporationID, Destiny::WARP_Struct::effectStamp, Destiny::BallHeader::entityID, Destiny::BallHeader::flags, Destiny::Ball::Mode::FOLLOW, Destiny::FOLLOW_Struct::followID, Destiny::WARP_Struct::followID, Destiny::FOLLOW_Struct::followRange, Destiny::WARP_Struct::followRange, Destiny::ORBIT_Struct::followRange, Destiny::GOTO_Struct::formationID, Destiny::FOLLOW_Struct::formationID, Destiny::STOP_Struct::formationID, Destiny::WARP_Struct::formationID, Destiny::ORBIT_Struct::formationID, DestinyManager::GetFollowDistance(), SystemEntity::GetID(), DestinyManager::GetInertia(), DestinyManager::GetMass(), DestinyManager::GetMaxVelocity(), SystemEntity::GetName(), SystemEntity::GetRadius(), DestinyManager::GetSpeedFraction(), DestinyManager::GetState(), DestinyManager::GetTargetID(), DestinyManager::GetTargetPoint(), DestinyManager::GetVelocity(), DestinyManager::GetWarpSpeed(), Destiny::Ball::Mode::GOTO, Destiny::MassSector::harmonic, Destiny::DataSector::inertia, IsAlliance, DestinyManager::IsCloaked(), Destiny::Ball::Flag::IsFree, Destiny::Ball::Flag::IsMassive, SystemEntity::m_allyID, SystemEntity::m_corpID, SystemEntity::m_destiny, SystemEntity::m_harmonic, main(), Destiny::MassSector::mass, Destiny::DataSector::maxSpeed, Destiny::BallHeader::mode, Destiny::Ball::Mode::ORBIT, Destiny::BallHeader::posX, Destiny::BallHeader::posY, Destiny::BallHeader::posZ, Destiny::BallHeader::radius, Destiny::WARP_Struct::speed, Destiny::DataSector::speedfraction, Destiny::ORBIT_Struct::targetID, Destiny::WARP_Struct::targX, Destiny::WARP_Struct::targY, Destiny::WARP_Struct::targZ, Destiny::DataSector::velX, Destiny::DataSector::velY, Destiny::DataSector::velZ, Destiny::Ball::Mode::WARP, Destiny::GOTO_Struct::x, Ga::GaVec3::x, SystemEntity::x(), Destiny::GOTO_Struct::y, Ga::GaVec3::y, SystemEntity::y(), Destiny::GOTO_Struct::z, Ga::GaVec3::z, and SystemEntity::z().

|
inline |
Definition at line 63 of file Concord.h.
References m_emDamage.
Referenced by ConcordAI::AttackTarget().

|
inline |
Definition at line 65 of file Concord.h.
References m_expDamage.
Referenced by ConcordAI::AttackTarget().

|
inline |
Definition at line 64 of file Concord.h.
References m_kinDamage.
Referenced by ConcordAI::AttackTarget().

|
inline |
|
inline |
Definition at line 62 of file Concord.h.
References m_therDamage.
Referenced by ConcordAI::AttackTarget().

|
virtual |
Reimplemented from SystemEntity.
| void Concord::MakeDamageState | ( | DoDestinyDamageState & | into | ) | const |
Definition at line 199 of file Concord.cpp.
References AttrArmorHP, AttrHP, AttrShieldCapacity, AttrShieldRechargeRate, EvilNumber::get_float(), InventoryItem::GetAttribute(), GetFileTimeNow(), m_armorDamage, m_hullDamage, SystemEntity::m_self, and m_shieldCharge.

| void Concord::Orbit | ( | SystemEntity * | who | ) |
Definition at line 105 of file Concord.cpp.
References SystemEntity::GetID(), and m_orbitingID.

|
virtual |
Reimplemented from SystemEntity.
Definition at line 92 of file Concord.cpp.
References Profile::concord, GetTimeUSeconds(), m_AI, SystemEntity::m_killed, SystemEntity::Process(), ConcordAI::Process(), sConfig, and sProfiler.

|
protected |
Definition at line 249 of file Concord.cpp.
References AttrArmorEmDamageResonance, AttrArmorExplosiveDamageResonance, AttrArmorKineticDamageResonance, AttrArmorThermalDamageResonance, AttrEmDamageResonance, AttrExplosiveDamageResonance, AttrKineticDamageResonance, AttrShieldEmDamageResonance, AttrShieldExplosiveDamageResonance, AttrShieldKineticDamageResonance, AttrShieldThermalDamageResonance, AttrThermalDamageResonance, EvilOne, InventoryItem::HasAttribute(), SystemEntity::m_self, and InventoryItem::SetAttribute().
Referenced by Concord().


|
inline |
|
inline |
| void Concord::TargetedAdd | ( | SystemEntity * | who | ) |
Definition at line 116 of file Concord.cpp.
References m_AI, and ConcordAI::Targeted().

|
inline |
| void Concord::TargetLost | ( | SystemEntity * | who | ) |
Definition at line 112 of file Concord.cpp.
References m_AI, and ConcordAI::TargetLost().

| void Concord::UseArmorRepairer | ( | ) |
Definition at line 221 of file Concord.cpp.
References _UpdateDamage(), AI(), AttrEntityArmorRepairAmount, ConcordAI::DisableRepTimers(), EvilNumber::get_float(), InventoryItem::GetAttribute(), SystemEntity::GetSelf(), and m_armorDamage.
Referenced by ConcordAI::Process().


| void Concord::UseShieldRecharge | ( | ) |
Definition at line 207 of file Concord.cpp.
References _UpdateDamage(), AI(), AttrEntityShieldBoostAmount, AttrShieldCapacity, ConcordAI::DisableRepTimers(), EvilNumber::get_float(), InventoryItem::GetAttribute(), SystemEntity::GetSelf(), and m_shieldCharge.
Referenced by ConcordAI::Process().


|
protected |
Definition at line 82 of file Concord.h.
Referenced by AI(), Concord(), Process(), TargetedAdd(), TargetLost(), and ~Concord().
|
private |
Definition at line 93 of file Concord.h.
Referenced by Concord(), MakeDamageState(), and UseArmorRepairer().
|
private |
|
private |
Definition at line 89 of file Concord.h.
Referenced by Concord(), and GetExplosive().
|
private |
Definition at line 92 of file Concord.h.
Referenced by Concord(), and MakeDamageState().
|
private |
Definition at line 90 of file Concord.h.
Referenced by Concord(), and GetKinetic().
|
private |
|
private |
Definition at line 87 of file Concord.h.
Referenced by Concord(), and GetOrbitRange().
|
protected |
|
private |
|
private |
Definition at line 94 of file Concord.h.
Referenced by Concord(), MakeDamageState(), and UseShieldRecharge().
|
protected |
|
protected |
Definition at line 79 of file Concord.h.
Referenced by SystemMgr().
|
private |
Definition at line 91 of file Concord.h.
Referenced by Concord(), and GetThermal().