EvEmu  0.8.4
11 September 2021
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
SystemEntity Class Reference

#include "SystemEntity.h"

Inheritance diagram for SystemEntity:
Collaboration diagram for SystemEntity:

Public Member Functions

 SystemEntity (InventoryItemRef self, PyServiceMgr &services, SystemManager *system)
 
virtual ~SystemEntity ()
 
virtual void Process ()
 
virtual bool ProcessTic ()
 
virtual SystemEntityGetSE ()
 
virtual StaticSystemEntityGetStaticSE ()
 
virtual StationSEGetStationSE ()
 
virtual PlanetSEGetPlanetSE ()
 
virtual MoonSEGetMoonSE ()
 
virtual StargateSEGetGateSE ()
 
virtual BeltSEGetBeltSE ()
 
virtual ItemSystemEntityGetItemSE ()
 
virtual ContainerSEGetContSE ()
 
virtual WreckSEGetWreckSE ()
 
virtual AnomalySEGetAnomalySE ()
 
virtual WormholeSEGetWormholeSE ()
 
virtual FieldSEGetFieldSE ()
 
virtual ProbeSEGetProbeSE ()
 
virtual ObjectSystemEntityGetObjectSE ()
 
virtual AsteroidSEGetAsteroidSE ()
 
virtual StructureSEGetPOSSE ()
 
virtual StructureSEGetJammerSE ()
 
virtual JumpBridgeSEGetJumpBridgeSE ()
 
virtual StructureSEGetOutpostSE ()
 
virtual TowerSEGetTowerSE ()
 
virtual ArraySEGetArraySE ()
 
virtual WeaponSEGetWeaponSE ()
 
virtual BatterySEGetBatterySE ()
 
virtual DeployableSEGetDeployableSE ()
 
virtual SentryGetSentrySE ()
 
virtual ModuleSEGetModuleSE ()
 
virtual ReactorSEGetReactorSE ()
 
virtual CustomsSEGetCOSE ()
 
virtual TCUSEGetTCUSE ()
 
virtual SBUSEGetSBUSE ()
 
virtual IHubSEGetIHubSE ()
 
virtual DynamicSystemEntityGetDynamicSE ()
 
virtual NPCGetNPCSE ()
 
virtual DroneSEGetDroneSE ()
 
virtual MissileGetMissileSE ()
 
virtual ShipSEGetShipSE ()
 
virtual ConcordGetConcordSE ()
 
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 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 ()
 
PyServiceMgrGetServices ()
 
SystemBubbleSysBubble ()
 
SystemManagerSystemMgr ()
 
TargetManagerTargetMgr ()
 
DestinyManagerDestinyMgr ()
 
InventoryItemRef GetSelf ()
 
uint16 GetTypeID ()
 
uint32 GetGroupID ()
 
uint8 GetCategoryID ()
 
EVEItemFlags GetFlag ()
 
uint32 GetID ()
 
double GetRadius ()
 
uint32 GetLocationID ()
 
const char * GetName () const
 
const GPointGetPosition () 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)
 
PyTupleMakeDamageState ()
 
virtual void Abandon ()
 
const bool IsDead ()
 
const GVectorGetVelocity ()
 
virtual void Killed (Damage &fatal_blow)
 
virtual void EncodeDestiny (Buffer &into)
 
virtual void MakeDamageState (DoDestinyDamageState &into)
 
virtual PyDictMakeSlimItem ()
 
virtual void MissileLaunched (Missile *pMissile)
 
virtual void UpdateDamage ()
 
virtual bool LoadExtras ()
 
virtual void Delete ()
 
virtual void SetPilot (Client *pClient)
 
virtual bool HasPilot ()
 
virtual ClientGetPilot ()
 

Protected Attributes

SystemBubblem_bubble
 
SystemManagerm_system
 
TargetManagerm_targMgr
 
DestinyManagerm_destiny
 
PyServiceMgrm_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
 

Friends

class SystemBubble
 

Detailed Description

Definition at line 84 of file SystemEntity.h.

Constructor & Destructor Documentation

SystemEntity::SystemEntity ( InventoryItemRef  self,
PyServiceMgr services,
SystemManager system 
)

Definition at line 51 of file SystemEntity.cpp.

References _log, AttrRadius, RefPtr< X >::get(), EvilNumber::get_double(), InventoryItem::GetAttribute(), EVEPOS::Harmonic::Inactive, m_allyID, m_corpID, m_fleetID, m_harmonic, m_ownerID, m_radius, m_self, m_system, and m_warID.

52 :m_self(self),
53 m_services(services),
54 m_system(system),
55 m_bubble(nullptr),
56 m_destiny(nullptr),
57 m_targMgr(nullptr),
58 m_killed(false)
59 {
60  assert(m_system != nullptr);
61  assert(m_self.get() != nullptr);
62 
63  m_warID = 0;
64  m_allyID = 0;
65  m_corpID = 0;
66  m_fleetID = 0;
67  m_ownerID = 1;
68 
70 
72 
73  _log(SE__DEBUG, "Created SE for item %s (%u) with radius of %.1f.", self->name(), self->itemID(), m_radius);
74 }
#define _log(type, fmt,...)
Definition: logsys.h:124
DestinyManager * m_destiny
Definition: SystemEntity.h:265
uint32 m_ownerID
Definition: SystemEntity.h:283
SystemBubble * m_bubble
Definition: SystemEntity.h:262
PyServiceMgr & m_services
Definition: SystemEntity.h:267
const char * name()
int32 m_harmonic
Definition: SystemEntity.h:276
TargetManager * m_targMgr
Definition: SystemEntity.h:264
uint32 m_fleetID
Definition: SystemEntity.h:282
InventoryItemRef m_self
Definition: SystemEntity.h:269
uint32 m_corpID
Definition: SystemEntity.h:281
SystemManager * m_system
Definition: SystemEntity.h:263
X * get() const
Definition: RefPtr.h:213
EvilNumber GetAttribute(const uint16 attrID) const
double get_double()
Definition: EvilNumber.cpp:191
double m_radius
Definition: SystemEntity.h:273

Here is the call graph for this function:

virtual SystemEntity::~SystemEntity ( )
inlinevirtual

Definition at line 88 of file SystemEntity.h.

88 { /* do nothing here */ }

Member Function Documentation

void SystemEntity::Abandon ( )
virtual
Todo:
should this have a slimupdate or bubblecast or something?

Reimplemented in WreckSE, and DroneSE.

Definition at line 246 of file SystemEntity.cpp.

References InventoryItem::ChangeOwner(), m_allyID, m_corpID, m_fleetID, m_ownerID, m_self, and m_warID.

Referenced by DroneSE::Abandon(), WreckSE::Abandon(), Client::Board(), and Client::Eject().

247 {
248  m_warID = 0;
249  m_allyID = 0;
250  m_corpID = 0;
251  m_fleetID = 0;
252  m_ownerID = 1;
253  m_self->ChangeOwner(1); // update this to use system owner? not sure. logs show this as "1" for all non-player items
255 }
uint32 m_ownerID
Definition: SystemEntity.h:283
uint32 m_fleetID
Definition: SystemEntity.h:282
InventoryItemRef m_self
Definition: SystemEntity.h:269
uint32 m_corpID
Definition: SystemEntity.h:281
void ChangeOwner(uint32 new_owner, bool notify=false)

Here is the call graph for this function:

Here is the caller graph for this function:

bool SystemEntity::ApplyDamage ( Damage d)
Todo:
this works, but still needs work.... if (HasPilot()) if (damageID > 2) { float uniformity = m_self->GetAttribute(AttrShieldUniformity).get_float(); uniformity += (0.05 * GetPilot()->GetChar()->GetSkillLevel(EvESkill::TacticalShieldManipulation)); if ((available_shield /m_self->GetAttribute(AttrShieldCapacity).get_float()) < uniformity) { float bleedthru = (d.GetTotal() * 0.01f); m_self->SetAttribute(AttrArmorDamage, (bleedthru + m_self->GetAttribute(AttrArmorDamage).get_float())); shield_damage -= bleedthru; } }

ALL dmg msgs working 22Apr15 (hacked - found the actual msgIDs) fixed msgIDs and removed xmlp - 15Sept19

Todo:
still need to check/add detailed dmg msgs

Definition at line 108 of file Damage.cpp.

References _log, AttrArmorDamage, AttrArmorEmDamageResonance, AttrArmorExplosiveDamageResonance, AttrArmorHP, AttrArmorKineticDamageResonance, AttrArmorThermalDamageResonance, AttrArmorUniformity, AttrDamage, AttrEmDamageResonance, AttrExplosiveDamageResonance, AttrHP, AttrKineticDamageResonance, AttrShieldCharge, AttrShieldEmDamageResonance, AttrShieldExplosiveDamageResonance, AttrShieldKineticDamageResonance, AttrShieldThermalDamageResonance, AttrThermalDamageResonance, Dmg::Msg::Banked, Damage::chargeRef, Profile::damage, ShipSE::DamageRandModule(), EvilZero, InventoryItem::flag(), RefPtr< X >::get(), EvilNumber::get_float(), InventoryItem::GetAttribute(), GetDroneSE(), Damage::GetEM(), Damage::GetExplosive(), SystemBubble::GetID(), GetID(), Damage::GetKinetic(), Damage::GetModifier(), ShipItem::GetModule(), Client::GetName(), GetName(), DroneSE::GetOwner(), GetPilot(), ShipSE::GetShipItemRef(), GetShipSE(), Damage::GetThermal(), GetTimeUSeconds(), Damage::GetTotal(), Dmg::Msg::Given, InventoryItem::groupID(), HasPilot(), is_log_enabled, IsDroneSE(), isGlobal(), GenericModule::IsLinked(), InventoryItem::IsModuleItem(), IsNPCSE(), InventoryItem::itemID(), Killed(), m_bubble, m_destiny, m_killed, m_self, MakeRandomInt(), EVEDB::invGroups::Missile_Launcher_Assault, EVEDB::invGroups::Missile_Launcher_Bomb, EVEDB::invGroups::Missile_Launcher_Citadel, EVEDB::invGroups::Missile_Launcher_Cruise, EVEDB::invGroups::Missile_Launcher_Defender, EVEDB::invGroups::Missile_Launcher_Heavy, EVEDB::invGroups::Missile_Launcher_Heavy_Assault, EVEDB::invGroups::Missile_Launcher_Rocket, EVEDB::invGroups::Missile_Launcher_Siege, EVEDB::invGroups::Missile_Launcher_Snowball, EVEDB::invGroups::Missile_Launcher_Standard, Damage::MultiplyDup(), InventoryItem::name(), Client::QueueDestinyEvent(), sConfig, SendDamageStateChanged(), DestinyManager::SendTerminalExplosion(), InventoryItem::SetAttribute(), PyTuple::SetItem(), PyDict::SetItemString(), sProfiler, Damage::srcSE, EVEDB::invGroups::Super_Weapon, Dmg::Msg::Taken, InventoryItem::typeID(), and Damage::weaponRef.

Referenced by TurretModule::ApplyDamage(), SentryAI::AttackTarget(), DroneAIMgr::AttackTarget(), NPCAIMgr::AttackTarget(), ConcordAI::AttackTarget(), and Missile::HitTarget().

108  {
109  double profileStartTime = GetTimeUSeconds();
110 
111  if (is_log_enabled(DAMAGE__MESSAGE)) {
112  if (d.srcSE->IsNPCSE()) {
113  _log(DAMAGE__MESSAGE, "%s(%u): Initializing %.2f damage from NPC %s(%u) with K:%.3f, T:%.3f, EM:%.3f, E:%.3f",\
114  GetName(), GetID(), d.GetTotal(), d.srcSE->GetName(), d.srcSE->GetID(), \
115  d.GetKinetic(), d.GetThermal(), d.GetEM(), d.GetExplosive() );
116  } else if (d.srcSE->IsDroneSE()){
117  _log(DAMAGE__MESSAGE, "%s(%u): Initializing %.2f damage from Drone %s(%u) with K:%.3f, T:%.3f, EM:%.3f, E:%.3f",\
118  GetName(), GetID(), d.GetTotal(), d.srcSE->GetName(), d.srcSE->GetID(), \
119  d.GetKinetic(), d.GetThermal(), d.GetEM(), d.GetExplosive() );
120  } else if (d.srcSE->HasPilot()) {
121  _log(DAMAGE__MESSAGE, "%s(%u): Initializing %.2f damage from %s's %s(%u) using %s(%u) %s with K:%.3f, T:%.3f, EM:%.3f, E:%.3f",\
122  GetName(), GetID(), d.GetTotal(), d.srcSE->GetPilot()->GetName(), d.srcSE->GetName(), d.srcSE->GetID(), \
123  d.weaponRef->name(), d.weaponRef->itemID(), (d.chargeRef ? d.chargeRef->name() : ""), \
124  d.GetKinetic(), d.GetThermal(), d.GetEM(), d.GetExplosive() );
125  } else {
126  _log(DAMAGE__MESSAGE, "%s(%u): Initializing %.2f damage from unknown source.", GetName(), GetID(), d.GetTotal());
127  }
128  }
129 
130  int8 damageID = 0;
131  switch (d.weaponRef->groupID()) {
133  case EVEDB::invGroups::Missile_Launcher_Bomb: // not sure here
136  case EVEDB::invGroups::Missile_Launcher_Defender: // not sure here
142  // apply damage modifier from config
143  d *= sConfig.rates.missileDamage;
144  // should this be adjusted based on damage?
145  damageID = 6;
146  } break;
148  /* TODO
149  * this damage will need to be adjusted based on distance from target, then called for each target,
150  * and modified/corrected as the weapon implementation is completed.
151  * all modifiers to be calc'd in weapon code and sent here for correct damageID
152  */
153  damageID = 5;
154  } break;
156  // these dont do any damage
157  // update this to use real toHit data (once we implement them....)
158  damageID = MakeRandomInt(0,8);
159  } break;
160  default: {
161  float modifier = d.GetModifier();
162  d *= modifier;
163  if (modifier == 3.0f) { damageID = 8; } //strikes perfectly, wrecking
164  else if (modifier > 1.2501f) { damageID = 7; } //places an excellent hit
165  else if (modifier > 0.9999f) { damageID = 6; } //aims well
166  else if (modifier > 0.7501f) { damageID = 5; } //hits
167  else if (modifier > 0.6251f) { damageID = 4; } //lightly hits
168  else if (modifier > 0.4121f) { damageID = 3; } //barely scratches
169  else if (modifier > 0.3751f) { damageID = 2; } //glances off
170  else if (modifier > 0.2501f) { damageID = 1; } //barely misses
171  else { damageID = 0; } //misses completely
172  _log(DAMAGE__TRACE, "%s(%u): Modifier: %.3f, damageID: %u.", GetName(), GetID(), modifier, damageID);
173  } break;
174  }
175 
176  // apply damage modifier from config
177  d *= sConfig.rates.damageRate;
178 
179  // this is calculated and created on every call...
180  Damage DamageToShield = d.MultiplyDup(
185 
186  bool killed = false;
187  float total_damage(0.0f);
188  float shield_damage(DamageToShield.GetTotal());
189  float available_shield(m_self->GetAttribute(AttrShieldCharge).get_float());
190  if (shield_damage <= available_shield) {
203  total_damage += shield_damage;
204  float new_charge = available_shield - shield_damage;
205  m_self->SetAttribute(AttrShieldCharge, new_charge);
206 
207  _log(DAMAGE__DEBUG, "%s(%u): Applying %.2f damage to shields. New charge: %.2f.",
208  GetName(), GetID(), shield_damage, new_charge);
209  } else {
210  // get fraction of damage partial shield absorbs, and lower total damage by that fraction
211  d *= (1 - (available_shield /shield_damage));
212  total_damage += available_shield;
213 
214  if (available_shield > 0.0f) {
215  _log(DAMAGE__INFO, "%s(%u): Shield depleted with %.2f damage. %.2f damage remains.",
216  GetName(), GetID(), available_shield, d.GetTotal());
218  }
219 
220  //Armor:
222  Damage DamageToArmor = d.MultiplyDup(
227 
228  float armor_damage = DamageToArmor.GetTotal();
229  if (armor_damage <= available_armor) {
230  if (HasPilot()) {
232  float new_damage = d.GetTotal() * 0.01;
233  float hull_damage = m_self->GetAttribute(AttrDamage).get_float() + new_damage;
234  _log(DAMAGE__DEBUG, "%s(%u): Applying %.2f leakthru damage to structure. New structure damage: %.2f",
235  GetName(), GetID(), new_damage, hull_damage);
236  m_self->SetAttribute(AttrDamage, hull_damage);
237  // remove this leakthru damage from armor damage
238  armor_damage -= new_damage;
239  }
240  }
241  total_damage += armor_damage;
242  float new_damage = m_self->GetAttribute(AttrArmorDamage).get_float() + armor_damage;
243  m_self->SetAttribute(AttrArmorDamage, new_damage);
244  _log(DAMAGE__DEBUG, "%s(%u): Applying %.2f damage to armor. New armor damage: %.2f",
245  GetName(), GetID(), armor_damage, new_damage);
246  } else {
247  d *= (1 - (available_armor /armor_damage));
248  total_damage += available_armor;
249 
250  if (available_armor > 0) {
251  _log(DAMAGE__INFO, "%s(%u): Armor depleted with %.2f damage. %.2f damage remains.",
252  GetName(), GetID(), available_armor, d.GetTotal());
254  }
255 
256  //Hull/Structure:
257  //The base hp and damage attributes represent structure.
258  float available_hull = m_self->GetAttribute(AttrHP).get_float() - m_self->GetAttribute(AttrDamage).get_float();
259  Damage DamageToHull = d.MultiplyDup(
264 
265  float hull_damage = DamageToHull.GetTotal();
266  if (hull_damage < available_hull) {
267  total_damage += hull_damage;
268  float new_damage = m_self->GetAttribute(AttrDamage).get_float() + hull_damage;
269  m_self->SetAttribute(AttrDamage, new_damage);
270  _log(DAMAGE__DEBUG, "%s(%u): Applying %.2f damage to structure. New structure damage: %.2f",
271  GetName(), GetID(), hull_damage, new_damage);
272  } else {
273  total_damage += available_hull;
274  //dead....
275  _log(DAMAGE__INFO, "%s(%u): %.2f damage has depleted our structure. Time to explode.",
276  GetName(), GetID(), hull_damage);
277  killed = true;
278  }
279 
280  // module damage.
281  // after armor is gone, make damage to random module.
282  if (HasPilot())
283  GetShipSE()->DamageRandModule(sConfig.server.ModuleDamageChance); // config option for random module damage chance
284  }
285  }
286 
287  if (killed) {
288  if (m_killed)
289  return true;
290 
291  m_killed = true;
292 
293  // OnNotify:OnTransmission - (235799, `You have killed this defenseless NPC, bully. Also, you have killed this NPC and are receiving this message.`)
295 
296  Killed(d); // this must NOT remove dead SE from system.
297  SystemEntity::Killed(d); // this removes dead SE from system then deletes itemRef and all its contents
298  } else {
304  if (HasPilot()) {
305  // notify player of damage received
306  PyDict* dict = new PyDict();
307  dict->SetItemString("source", new PyInt(d.srcSE->GetID()));
308  dict->SetItemString("weapon", new PyInt((d.chargeRef.get() != nullptr ? d.chargeRef->typeID() : d.weaponRef->typeID())));
309  dict->SetItemString("target", new PyInt(GetID()));
310  dict->SetItemString("damage", new PyFloat(total_damage));
311  PyTuple* tuple = new PyTuple(3);
312  tuple->SetItem(0, new PyString("OnDamageMessage"));
313  tuple->SetItem(1, new PyString(Dmg::Msg::Taken[damageID]));
314  tuple->SetItem(2, dict);
315  GetPilot()->QueueDestinyEvent(&tuple);
316  }
317  if (d.srcSE->HasPilot()) {
318  //notify to player of damage done:
319  PyDict* dict = new PyDict();
320  dict->SetItemString("weapon", new PyInt((d.chargeRef.get() != nullptr ? d.chargeRef->typeID() : d.weaponRef->typeID())));
321  dict->SetItemString("target", new PyInt(GetID()));
322  dict->SetItemString("damage", new PyFloat(total_damage));
323  PyTuple* tuple = new PyTuple(3);
324  bool banked = false;
325  tuple->SetItem(0, new PyString("OnDamageMessage"));
326  if (d.weaponRef->IsModuleItem()) {
328  if (pMod != nullptr)
329  if (pMod->IsLinked())
330  banked = true;
331  }
332  if (banked) {
333  tuple->SetItem(1, new PyString(Dmg::Msg::Banked[damageID]));
334  } else {
335  tuple->SetItem(1, new PyString(Dmg::Msg::Given[damageID]));
336  }
337  tuple->SetItem(2, dict);
338  d.srcSE->GetPilot()->QueueDestinyEvent(&tuple);
339  } else if (d.srcSE->IsDroneSE()) {
340  // verify drone has owner set
341  if (d.srcSE->GetDroneSE()->GetOwner() != nullptr) {
342  // notify player of damage done by drone
343  PyDict* dict = new PyDict();
344  dict->SetItemString("source", new PyInt(d.srcSE->GetID()));
345  dict->SetItemString("target", new PyInt(GetID()));
346  /*
347  PyTuple* tuple = new PyTuple(2);
348  tuple->AddItem(0, PyStatic.NewNone()); // i dont know what this is
349  tuple->AddItem(1, new PyInt(d.srcSE->GetDroneSE()->GetOwner()->GetCharID())):
350  */
351  //dict->SetItemString("owner", tuple));
352  dict->SetItemString("damage", new PyFloat(total_damage));
353  PyTuple* tuple = new PyTuple(3);
354  tuple->SetItem(0, new PyString("OnDamageMessage"));
355  tuple->SetItem(1, new PyString(Dmg::Msg::Taken[damageID]));
356  tuple->SetItem(2, dict);
357  d.srcSE->GetDroneSE()->GetOwner()->QueueDestinyEvent(&tuple);
358  } else {
359  // make error about active drone with no owner set
360  _log(DRONE__WARNING, "Drone %u attacking %s with no owner set.", d.srcSE->GetID(), GetName());
361  }
362  }
363 
365  }
366 
367  if (sConfig.debug.UseProfiling)
368  sProfiler.AddTime(Profile::damage, GetTimeUSeconds() - profileStartTime);
369 
370  return killed;
371 }
#define sConfig
A macro for easier access to the singleton.
virtual DroneSE * GetDroneSE()
Definition: SystemEntity.h:135
static const char * Taken[9]
Definition: EVE_Damage.h:38
#define _log(type, fmt,...)
Definition: logsys.h:124
Python string.
Definition: PyRep.h:430
DestinyManager * m_destiny
Definition: SystemEntity.h:265
InventoryItemRef chargeRef
Definition: Damage.h:87
virtual bool IsNPCSE()
Definition: SystemEntity.h:186
virtual void Killed(Damage &fatal_blow)
Python's dictionary.
Definition: PyRep.h:719
virtual ShipSE * GetShipSE()
Definition: SystemEntity.h:137
ShipItemRef GetShipItemRef()
Definition: Ship.h:362
virtual bool HasPilot()
Definition: SystemEntity.h:258
void QueueDestinyEvent(PyTuple **multiEvent)
Definition: Client.cpp:2124
#define sProfiler
Definition: dbcore.cpp:39
virtual Client * GetPilot()
Definition: SystemEntity.h:259
Python floating point number.
Definition: PyRep.h:292
SystemBubble * m_bubble
Definition: SystemEntity.h:262
SystemEntity * srcSE
Definition: Damage.h:84
const char * name()
Python tuple.
Definition: PyRep.h:567
signed __int8 int8
Definition: eve-compat.h:45
EvilNumber EvilZero
Definition: EvilNumber.cpp:32
uint16 groupID() const
Client * GetOwner()
Definition: Drone.h:74
#define is_log_enabled(type)
Definition: logsys.h:78
InventoryItemRef m_self
Definition: SystemEntity.h:269
double GetTimeUSeconds()
Definition: utils_time.cpp:116
static const char * Banked[9]
Definition: EVE_Damage.h:64
float GetKinetic()
Definition: Damage.h:45
void SetItem(size_t index, PyRep *object)
Stores Python object.
Definition: PyRep.h:610
uint16 GetID()
Definition: SystemBubble.h:91
Definition: Damage.h:33
Python integer.
Definition: PyRep.h:231
float GetEM()
Definition: Damage.h:44
void SetAttribute(uint16 attrID, int num, bool notify=true)
uint32 GetID()
Definition: SystemEntity.h:207
X * get() const
Definition: RefPtr.h:213
const char * GetName() const
Definition: Client.h:94
float GetModifier()
Definition: Damage.h:47
const char * GetName() const
Definition: SystemEntity.h:210
virtual bool isGlobal()
Definition: SystemEntity.h:142
EVEItemFlags flag() const
float GetThermal()
Definition: Damage.h:43
GenericModule * GetModule(EVEItemFlags flag)
Definition: Ship.h:173
int64 MakeRandomInt(int64 low, int64 high)
Generates random integer from interval [low; high].
Definition: misc.cpp:109
float GetTotal() const
Definition: Damage.h:48
void SendDamageStateChanged()
void SendTerminalExplosion(uint32 shipID, uint32 bubbleID, bool isGlobal=false) const
EvilNumber GetAttribute(const uint16 attrID) const
static const char * Given[9]
Definition: EVE_Damage.h:26
virtual bool IsModuleItem()
Definition: InventoryItem.h:86
void DamageRandModule(float chance)
Definition: Ship.cpp:2494
float get_float()
Definition: EvilNumber.cpp:184
Damage MultiplyDup(float kinetic_multiplier, float thermal_multiplier, float em_multiplier, float explosive_multiplier) const
Definition: Damage.h:50
float GetExplosive()
Definition: Damage.h:46
InventoryItemRef weaponRef
Definition: Damage.h:86
virtual bool IsDroneSE()
Definition: SystemEntity.h:187
uint16 typeID() const
uint32 itemID() const
Definition: InventoryItem.h:98
void SetItemString(const char *key, PyRep *value)
SetItemString adds or sets a database entry.
Definition: PyRep.h:812

Here is the call graph for this function:

Here is the caller graph for this function:

void SystemEntity::AwardSecurityStatus ( InventoryItemRef  iRef,
Character pChar 
)
Todo:
(allan) this doesnt need to be here
Todo:
msg need work for details to appear correctly. currently working, but could be better. (incomplete, but working) see data in eve/common/script/util/eveFormat.py:300 for details

SE::AwardSecurityStatus(): Shadow Serpentis Port Admiral(750000006): killBonus: 0.072000. oldSec: 0.044933. secAward: 0.007617. SE::AwardSecurityStatus(): Estamel Tharchon(750000001): killBonus: 0.244141. oldSec: 0.000000. secAward: 0.024414.

Definition at line 205 of file SystemEntity.cpp.

References AttrEntitySecurityMaxGain, AttrEntitySecurityStatusKillBonus, Standings::CombatShipKill, corpCONCORD, EvESkill::FastTalk, EvilNumber::get_double(), EvilNumber::get_float(), InventoryItem::GetAttribute(), Client::GetName(), GetName(), SystemManager::GetNameStr(), InventoryItem::GetPilot(), Character::GetSecurityRating(), Character::GetSkillLevel(), InventoryItem::HasAttribute(), InventoryItem::HasPilot(), InventoryItem::itemID(), Standings::LawEnforcement, m_system, InventoryItem::ownerID(), sConfig, Character::secStatusChange(), sLog, and sStandingMgr.

Referenced by Sentry::Killed(), CustomsSE::Killed(), NPC::Killed(), DroneSE::Killed(), and StructureSE::Killed().

205  {
206 
207  //New Status = ((10 - Old Status) * Sec Incr) + Old Status
208  double oldSec = pChar->GetSecurityRating();
209  EvilNumber maxGain = 0;
210  if (iRef->HasAttribute(AttrEntitySecurityMaxGain, maxGain))
211  if (oldSec > maxGain.get_double())
212  return;
213  float killBonus = iRef->GetAttribute(AttrEntitySecurityStatusKillBonus).get_float();
214  double secAward = (((10 - oldSec) * killBonus) + oldSec) / 100;
215  secAward *= (1 + (0.05f * (pChar->GetSkillLevel(EvESkill::FastTalk, true)))); // 5% increase
216  if (killBonus and secAward) {
217  secAward *= sConfig.rates.secRate;
218  sLog.Magenta("SE::AwardSecurityStatus()"," %s(%u): killBonus: %f. oldSec: %f. secAward: %f.",
219  GetName(), iRef->itemID(), killBonus, oldSec, secAward);
220  pChar->secStatusChange( secAward );
221  std::string msg = "Status Change for killing";
222  if (iRef->HasPilot()) {
223  msg += iRef->GetPilot()->GetName();
224  msg += " in ";
225  msg += m_system->GetNameStr();
226  sStandingMgr.UpdateStandings(iRef->itemID(), pChar->itemID(), Standings::CombatShipKill, secAward, msg);
227  } else {
228  msg += " pirates in ";
229  msg += m_system->GetNameStr();
230  sStandingMgr.UpdateStandings(corpCONCORD, pChar->itemID(), Standings::LawEnforcement, secAward, msg);
231  // decrease standings with faction of this npc kill
232  sStandingMgr.UpdateStandings(iRef->ownerID(), pChar->itemID(), Standings::CombatShipKill, -secAward, msg);
233  }
234  }
235 
244 }
#define sConfig
A macro for easier access to the singleton.
float GetSecurityRating() const
Definition: Character.h:289
bool HasAttribute(const uint16 attrID) const
uint32 ownerID() const
Definition: InventoryItem.h:99
const std::string & GetNameStr() const
Definition: SystemManager.h:83
#define sStandingMgr
Definition: StandingMgr.h:52
this is a class that kinda mimics how python polymorph's numbers.
Definition: EvilNumber.h:59
#define sLog
Evaluates to a NewLog instance.
Definition: LogNew.h:250
SystemManager * m_system
Definition: SystemEntity.h:263
const char * GetName() const
Definition: Client.h:94
const char * GetName() const
Definition: SystemEntity.h:210
EvilNumber GetAttribute(const uint16 attrID) const
double get_double()
Definition: EvilNumber.cpp:191
int8 GetSkillLevel(uint16 skillTypeID, bool zeroForNotInjected=true) const
Definition: Character.cpp:575
void secStatusChange(float amount)
Definition: Character.h:294
float get_float()
Definition: EvilNumber.cpp:184
virtual bool HasPilot()
uint32 itemID() const
Definition: InventoryItem.h:98
virtual Client * GetPilot()

Here is the call graph for this function:

Here is the caller graph for this function:

void SystemEntity::Delete ( )
virtual

Reimplemented in AsteroidSE, and Missile.

Definition at line 146 of file SystemEntity.cpp.

References TargetManager::ClearFromTargets(), InventoryItem::Delete(), IsContainerSE(), m_self, m_system, m_targMgr, and SystemManager::RemoveEntity().

Referenced by CynoModule::DeactivateCycle(), ActiveModule::DeactivateCycle(), Missile::Delete(), CargoContainer::Delete(), AsteroidSE::Delete(), Killed(), WreckSE::Process(), MiningLaser::ProcessCycle(), ProbeSE::ProcessTic(), and TowerSE::SetOffline().

147 {
148  if (m_targMgr != nullptr)
149  m_targMgr->ClearFromTargets(); //OnTarget(nullptr, TargMgr::Mode::Clear, TargMgr::Msg::Deleted);
150  if (m_system != nullptr)
151  m_system->RemoveEntity(this);
152  if (!IsContainerSE())
153  m_self->Delete();
154 }
TargetManager * m_targMgr
Definition: SystemEntity.h:264
InventoryItemRef m_self
Definition: SystemEntity.h:269
void ClearFromTargets()
virtual bool IsContainerSE()
Definition: SystemEntity.h:157
void RemoveEntity(SystemEntity *pSE)
SystemManager * m_system
Definition: SystemEntity.h:263
virtual void Delete()

Here is the call graph for this function:

Here is the caller graph for this function:

DestinyManager* SystemEntity::DestinyMgr ( )
inline

Definition at line 198 of file SystemEntity.h.

References m_destiny.

Referenced by CynoModule::Activate(), ActiveModule::Activate(), ModuleManager::Activate(), BubbleManager::Add(), SystemBubble::AddBallExclusive(), SentryAI::Attack(), DroneAIMgr::Attack(), NPCAIMgr::Attack(), ConcordAI::Attack(), SentryAI::AttackTarget(), DroneAIMgr::AttackTarget(), ConcordAI::AttackTarget(), Client::Board(), ActiveModule::CanActivate(), Client::CheckBallparkTimer(), Command_addball(), Command_addball2(), Command_bubblewarp(), Command_cloak(), Command_destinyvars(), Command_dropLoot(), Command_entityspawn(), Command_getposition(), Command_halt(), Command_location(), Command_sendstate(), Command_shipvars(), Command_status(), Command_syncloc(), Command_syncpos(), Command_update(), Command_warpto(), CynoModule::DeactivateCycle(), ActiveModule::DeactivateCycle(), FxAction::DoAction(), Client::DockToStation(), Prospector::DropSalvage(), Client::Eject(), TurretFormulas::GetDroneToHit(), TurretFormulas::GetNPCToHit(), TurretFormulas::GetSentryToHit(), TurretFormulas::GetToHit(), Client::JumpInEffect(), Client::JumpOutEffect(), ActiveModule::LaunchMissile(), NPCAIMgr::LaunchMissile(), Client::MoveToLocation(), Client::MoveToPosition(), DestinyManager::Orbit(), ConcordAI::Process(), Client::ProcessClient(), SystemBubble::ProcessWander(), Client::ResetAfterPopped(), SpawnMgr::ReSpawn(), DroneAIMgr::Return(), Client::SetBallPark(), ConcordAI::SetChasing(), Client::SetCloakTimer(), Client::SetDestiny(), DroneAIMgr::SetEngaged(), ConcordAI::SetEngaged(), ConcordAI::SetFleeing(), ConcordAI::SetFollowing(), ConcordAI::SetIdle(), ConcordAI::SetSignaling(), ActiveModule::SetSlaveData(), Client::StargateJump(), TargetManager::TargetLost(), Client::UpdateNewShip(), and SpawnMgr::WarpOutSpawn().

198 { return m_destiny; }
DestinyManager * m_destiny
Definition: SystemEntity.h:265
double SystemEntity::DistanceTo2 ( const SystemEntity other)

Definition at line 156 of file SystemEntity.cpp.

References Ga::GaVec3::distance(), GetPosition(), and m_bubble.

156  {
157  if (other->m_bubble == nullptr)
158  return 1000000.0;
159  return GetPosition().distance(other->GetPosition());
160 }
SystemBubble * m_bubble
Definition: SystemEntity.h:262
const GPoint & GetPosition() const
Definition: SystemEntity.h:211
GaExpInl GaFloat distance(const GaVec3 &oth) const
Definition: GaTypes.h:158

Here is the call graph for this function:

void SystemEntity::DropLoot ( WreckContainerRef  wreckRef,
uint32  groupID,
uint32  owner 
)

Definition at line 180 of file SystemEntity.cpp.

References InventoryItem::AddItem(), flagNone, InventoryItem::itemID(), MakeRandomInt(), sDataMgr, and sItemFactory.

Referenced by Sentry::Killed(), CustomsSE::Killed(), NPC::Killed(), StructureSE::Killed(), and ShipSE::Killed().

180  {
181  /* allan 27Nov14 */
182  std::vector<LootList> lootList;
183  sDataMgr.GetLoot(groupID, lootList);
184  if (lootList.empty())
185  return;
186 
187  uint32 quantity(0);
188  std::vector<LootList>::iterator cur = lootList.begin();
189  while (cur != lootList.end()) {
190  if (cur->minDrop == cur->maxDrop) {
191  quantity = cur->minDrop;
192  } else {
193  quantity = (uint32)(MakeRandomInt(cur->minDrop, cur->maxDrop));
194  }
195  if (quantity < 1)
196  quantity = 1;
197 
198  ItemData iLoot(cur->itemID, owner, wreckRef->itemID(), flagNone, quantity);
199  wreckRef->AddItem(sItemFactory.SpawnItem(iLoot));
200  ++cur;
201  }
202 }
virtual void AddItem(InventoryItemRef iRef)
unsigned __int32 uint32
Definition: eve-compat.h:50
int64 MakeRandomInt(int64 low, int64 high)
Generates random integer from interval [low; high].
Definition: misc.cpp:109
#define sItemFactory
Definition: ItemFactory.h:165
uint32 itemID() const
Definition: InventoryItem.h:98
#define sDataMgr

Here is the call graph for this function:

Here is the caller graph for this function:

void SystemEntity::EncodeDestiny ( Buffer into)
virtual

Reimplemented in DynamicSystemEntity, ObjectSystemEntity, FieldSE, ItemSystemEntity, ShipSE, StaticSystemEntity, WreckSE, StationSE, WormholeSE, ContainerSE, AnomalySE, StructureSE, AsteroidSE, DroneSE, NPC, Missile, CustomsSE, and Sentry.

Definition at line 116 of file SystemEntity.cpp.

References _log, Buffer::Append(), Destiny::BallHeader::entityID, Destiny::BallHeader::flags, Destiny::RIGID_Struct::formationID, GetName(), Destiny::Ball::Flag::IsGlobal, InventoryItem::itemID(), m_radius, m_self, main(), Destiny::BallHeader::mode, Destiny::BallHeader::posX, Destiny::BallHeader::posY, Destiny::BallHeader::posZ, Destiny::BallHeader::radius, Destiny::Ball::Mode::RIGID, x(), y(), and z().

Referenced by SystemBubble::AddBallExclusive(), SystemManager::AddMarker(), and SystemManager::SendStaticBall().

117 {
118  using namespace Destiny;
119 
120  BallHeader head = BallHeader();
121  head.entityID = m_self->itemID();
122  head.mode = Ball::Mode::RIGID;
123  head.radius = m_radius;
124  head.posX = x();
125  head.posY = y();
126  head.posZ = z();
128  into.Append( head );
130  main.formationID = 0xFF;
131  into.Append( main );
132  _log(SE__DESTINY, "SE::EncodeDestiny(): %s - id:%li, mode:%u, flags:0x%X", GetName(), head.entityID, head.mode, head.flags);
133 }
void Append(const T &value)
Appends a single value to buffer.
Definition: Buffer.h:437
#define _log(type, fmt,...)
Definition: logsys.h:124
double y()
Definition: SystemEntity.h:214
InventoryItemRef m_self
Definition: SystemEntity.h:269
double z()
Definition: SystemEntity.h:215
const char * GetName() const
Definition: SystemEntity.h:210
double x()
Definition: SystemEntity.h:213
int main(int argc, char *argv[])
double m_radius
Definition: SystemEntity.h:273
uint32 itemID() const
Definition: InventoryItem.h:98

Here is the call graph for this function:

Here is the caller graph for this function:

int32 SystemEntity::GetAllianceID ( )
inline
virtual AnomalySE* SystemEntity::GetAnomalySE ( )
inlinevirtual

Reimplemented in AnomalySE.

Definition at line 109 of file SystemEntity.h.

109 { return nullptr; }
virtual ArraySE* SystemEntity::GetArraySE ( )
inlinevirtual

Reimplemented in StructureSE, and ArraySE.

Definition at line 121 of file SystemEntity.h.

121 { return nullptr; }
virtual AsteroidSE* SystemEntity::GetAsteroidSE ( )
inlinevirtual

Reimplemented in AsteroidSE.

Definition at line 115 of file SystemEntity.h.

115 { return nullptr; }
virtual BatterySE* SystemEntity::GetBatterySE ( )
inlinevirtual

Reimplemented in StructureSE, and BatterySE.

Definition at line 123 of file SystemEntity.h.

123 { return nullptr; }
virtual BeltSE* SystemEntity::GetBeltSE ( )
inlinevirtual

Reimplemented in BeltSE.

Definition at line 104 of file SystemEntity.h.

104 { return nullptr; }
uint8 SystemEntity::GetCategoryID ( )
inline

Definition at line 205 of file SystemEntity.h.

References InventoryItem::categoryID(), and m_self.

Referenced by DestinyManager::UpdateOldShip().

205 { return m_self->categoryID(); }
InventoryItemRef m_self
Definition: SystemEntity.h:269
uint8 categoryID() const

Here is the call graph for this function:

Here is the caller graph for this function:

virtual Concord* SystemEntity::GetConcordSE ( )
inlinevirtual

Definition at line 138 of file SystemEntity.h.

138 { return nullptr; }
virtual ContainerSE* SystemEntity::GetContSE ( )
inlinevirtual

Reimplemented in ContainerSE.

Definition at line 107 of file SystemEntity.h.

Referenced by ActiveModule::CanActivate().

107 { return nullptr; }

Here is the caller graph for this function:

uint32 SystemEntity::GetCorporationID ( )
inline
virtual CustomsSE* SystemEntity::GetCOSE ( )
inlinevirtual

Reimplemented in CustomsSE.

Definition at line 128 of file SystemEntity.h.

Referenced by StructureItem::AddItem(), and ObjectSystemEntity::Killed().

128 { return nullptr; }

Here is the caller graph for this function:

virtual DeployableSE* SystemEntity::GetDeployableSE ( )
inlinevirtual

Reimplemented in DeployableSE.

Definition at line 124 of file SystemEntity.h.

124 { return nullptr; }
virtual DroneSE* SystemEntity::GetDroneSE ( )
inlinevirtual

Reimplemented in DroneSE.

Definition at line 135 of file SystemEntity.h.

Referenced by ShipSE::AbandonDrones(), SystemBubble::Add(), ApplyDamage(), ShipSE::Killed(), and ShipSE::ScoopDrone().

135 { return nullptr; }

Here is the caller graph for this function:

virtual DynamicSystemEntity* SystemEntity::GetDynamicSE ( )
inlinevirtual

Reimplemented in DynamicSystemEntity.

Definition at line 133 of file SystemEntity.h.

133 { return nullptr; }
virtual FieldSE* SystemEntity::GetFieldSE ( )
inlinevirtual

Reimplemented in FieldSE.

Definition at line 111 of file SystemEntity.h.

111 { return nullptr; }
EVEItemFlags SystemEntity::GetFlag ( )
inline

Definition at line 206 of file SystemEntity.h.

References InventoryItem::flag(), and m_self.

206 { return m_self->flag(); }
InventoryItemRef m_self
Definition: SystemEntity.h:269
EVEItemFlags flag() const

Here is the call graph for this function:

uint32 SystemEntity::GetFleetID ( )
inline

Definition at line 220 of file SystemEntity.h.

References m_fleetID.

Referenced by ActiveModule::CanActivate().

220 { return m_fleetID; }
uint32 m_fleetID
Definition: SystemEntity.h:282

Here is the caller graph for this function:

virtual StargateSE* SystemEntity::GetGateSE ( )
inlinevirtual

Reimplemented in StargateSE, and StructureSE.

Definition at line 103 of file SystemEntity.h.

Referenced by StructureSE::Init(), and StructureSE::InitData().

103 { return nullptr; }

Here is the caller graph for this function:

uint32 SystemEntity::GetGroupID ( )
inline

Definition at line 204 of file SystemEntity.h.

References InventoryItem::groupID(), and m_self.

Referenced by MiningLaser::GetMiningVolume().

204 { return m_self->groupID(); }
uint16 groupID() const
InventoryItemRef m_self
Definition: SystemEntity.h:269

Here is the call graph for this function:

Here is the caller graph for this function:

int8 SystemEntity::GetHarmonic ( )
inline

Definition at line 223 of file SystemEntity.h.

References m_harmonic.

223 { return m_harmonic; }
int32 m_harmonic
Definition: SystemEntity.h:276
uint32 SystemEntity::GetID ( )
inline

Definition at line 207 of file SystemEntity.h.

References InventoryItem::itemID(), and m_self.

Referenced by Concord::_UpdateDamage(), Colony::AbandonColony(), SuperWeapon::Activate(), BubbleManager::Add(), SystemBubble::Add(), SystemBubble::AddBallExclusive(), SystemManager::AddEntity(), SystemManager::AddMarker(), TowerSE::AddModule(), SystemManager::AddNPC(), Scan::AddProbe(), ShipSE::ApplyBoost(), ApplyDamage(), SentryAI::Attack(), DroneAIMgr::Attack(), NPCAIMgr::Attack(), ConcordAI::Attack(), SentryAI::AttackTarget(), DroneAIMgr::AttackTarget(), NPCAIMgr::AttackTarget(), ConcordAI::AttackTarget(), DestinyManager::BeginMovement(), DestinyManager::Bounce(), Scan::CalcProbeAngles(), ActiveModule::CanActivate(), BubbleManager::CheckBubble(), SentryAI::CheckDistance(), DroneAIMgr::CheckDistance(), NPCAIMgr::CheckDistance(), ConcordAI::CheckDistance(), TargetManager::ClearAllTargets(), TargetManager::ClearFromTargets(), TargetManager::ClearTarget(), TargetManager::ClearTargets(), Colony::Colony(), Colony::CreateCommandPin(), Colony::CreateLink(), PlanetMgr::CreatePin(), Colony::CreatePin(), Damage::Damage(), MiningLaser::Depleted(), TargetManager::Destroyed(), TargetManager::Dump(), TargetManager::TargetEntry::Dump(), TargetManager::TargetedByEntry::Dump(), Client::Eject(), Sentry::EncodeDestiny(), Concord::EncodeDestiny(), Missile::EncodeDestiny(), NPC::EncodeDestiny(), DroneSE::EncodeDestiny(), AsteroidSE::EncodeDestiny(), ContainerSE::EncodeDestiny(), WreckSE::EncodeDestiny(), ShipSE::EncodeDestiny(), DestinyManager::EntityRemoved(), DestinyManager::Follow(), BubbleManager::GetBubbleCenterMarkers(), Missile::GetLauncherID(), DestinyManager::GotoDirection(), DestinyManager::GotoPoint(), DestinyManager::Halt(), Colony::Init(), StructureSE::InitData(), DestinyManager::InitWarp(), DestinyManager::IsTurn(), Sentry::Killed(), CustomsSE::Killed(), NPC::Killed(), DroneSE::Killed(), StructureSE::Killed(), ShipSE::Killed(), DroneSE::Launch(), Colony::LaunchCommodities(), NPCAIMgr::LaunchMissile(), DestinyManager::MakeMissile(), TowerSE::MakeSlimItem(), ContainerSE::MakeSlimItem(), WreckSE::MakeSlimItem(), ShipSE::MakeSlimItem(), DestinyManager::MoveObject(), SpawnMgr::MoveSpawn(), Concord::Orbit(), NPC::Orbit(), DestinyManager::Orbit(), Colony::PlanetXfer(), SentryAI::Process(), ActiveModule::Process(), DroneAIMgr::Process(), NPCAIMgr::Process(), TargetManager::Process(), MiningLaser::ProcessCycle(), DestinyManager::ProcessState(), SystemBubble::ProcessWander(), ProbeSE::RecoverProbe(), BubbleManager::Remove(), SystemBubble::Remove(), BeltMgr::RemoveAsteroid(), SystemBubble::RemoveBall(), SystemBubble::RemoveBallExclusive(), ShipSE::RemoveBoost(), SystemManager::RemoveEntity(), SystemBubble::RemoveExclusive(), TowerSE::RemoveModule(), SystemManager::RemoveNPC(), Scan::RemoveProbe(), TargetManager::RemoveTarget(), Client::ResetAfterPopped(), SpawnMgr::ReSpawn(), ShipSE::ScoopDrone(), DestinyManager::SendAnchorDrop(), DestinyManager::SendAnchorLift(), DestinyManager::SendCloakFx(), DestinyManager::SendDestinyUpdate(), DestinyManager::SendJettisonPacket(), DestinyManager::SendJumpInEffect(), DestinyManager::SendJumpOut(), DestinyManager::SendJumpOutEffect(), CynoModule::SendOnJumpBeaconChange(), DestinyManager::SendSetState(), ProbeSE::SendStateChange(), SystemManager::SendStaticBall(), NPCAIMgr::SetChasing(), ConcordAI::SetChasing(), SentryAI::SetEngaged(), DroneAIMgr::SetEngaged(), NPCAIMgr::SetEngaged(), ConcordAI::SetEngaged(), NPCAIMgr::SetFleeing(), ConcordAI::SetFleeing(), NPCAIMgr::SetFollowing(), ConcordAI::SetFollowing(), SentryAI::SetIdle(), DroneAIMgr::SetIdle(), NPCAIMgr::SetIdle(), ConcordAI::SetIdle(), DestinyManager::SetMaxVelocity(), DestinyManager::SetPosition(), SentryAI::SetSignaling(), NPCAIMgr::SetSignaling(), ConcordAI::SetSignaling(), DestinyManager::SetSpeedFraction(), DestinyManager::SetUndockSpeed(), NPCAIMgr::SetWander(), DestinyManager::SpeedBoost(), TargetManager::StartTargeting(), DestinyManager::Stop(), SentryAI::Target(), DroneAIMgr::Target(), NPCAIMgr::Target(), TargetManager::TargetAdded(), SentryAI::Targeted(), DroneAIMgr::Targeted(), NPCAIMgr::Targeted(), ConcordAI::Targeted(), TargetManager::TargetedAdd(), TargetManager::TargetedByLocked(), TargetManager::TargetedByLost(), TargetManager::TargetedLost(), SentryAI::TargetLost(), DroneAIMgr::TargetLost(), NPCAIMgr::TargetLost(), TargetManager::TargetLost(), ConcordAI::TargetLost(), TargetManager::TargetsCleared(), DestinyManager::TractorBeamStart(), DestinyManager::TractorBeamStop(), DestinyManager::Turn(), DestinyManager::UpdateOldShip(), ProbeSE::UpdateProbe(), DestinyManager::UpdateShipVariables(), DestinyManager::UpdateVelocity(), PlanetMgr::UpgradeCommandCenter(), DestinyManager::WarpAccel(), DestinyManager::WarpCruise(), DestinyManager::WarpDecel(), SpawnMgr::WarpOutSpawn(), DestinyManager::WarpStop(), DestinyManager::WarpTo(), DestinyManager::WarpUpdate(), and DestinyManager::WebbedMe().

207 { return m_self->itemID(); }
InventoryItemRef m_self
Definition: SystemEntity.h:269
uint32 itemID() const
Definition: InventoryItem.h:98

Here is the call graph for this function:

virtual IHubSE* SystemEntity::GetIHubSE ( )
inlinevirtual

Reimplemented in StructureSE, and IHubSE.

Definition at line 131 of file SystemEntity.h.

Referenced by StructureSE::Init(), and TargetManager::StartTargeting().

131 { return nullptr; }

Here is the caller graph for this function:

virtual ItemSystemEntity* SystemEntity::GetItemSE ( )
inlinevirtual

Reimplemented in ItemSystemEntity.

Definition at line 106 of file SystemEntity.h.

106 { return nullptr; }
virtual StructureSE* SystemEntity::GetJammerSE ( )
inlinevirtual

Definition at line 117 of file SystemEntity.h.

117 { return nullptr; }
virtual JumpBridgeSE* SystemEntity::GetJumpBridgeSE ( )
inlinevirtual

Reimplemented in StructureSE, and JumpBridgeSE.

Definition at line 118 of file SystemEntity.h.

Referenced by StructureSE::Init().

118 { return nullptr; }

Here is the caller graph for this function:

uint32 SystemEntity::GetLocationID ( )
inline

Definition at line 209 of file SystemEntity.h.

References InventoryItem::locationID(), and m_self.

Referenced by Sentry::Killed(), CustomsSE::Killed(), NPC::Killed(), StructureSE::Killed(), ShipSE::Killed(), ShipSE::LaunchDrone(), NPCAIMgr::LaunchMissile(), and DestinyManager::MoveObject().

209 { return m_self->locationID(); }
InventoryItemRef m_self
Definition: SystemEntity.h:269
uint32 locationID() const

Here is the call graph for this function:

Here is the caller graph for this function:

virtual Missile* SystemEntity::GetMissileSE ( )
inlinevirtual

Reimplemented in Missile.

Definition at line 136 of file SystemEntity.h.

136 { return nullptr; }
virtual ModuleSE* SystemEntity::GetModuleSE ( )
inlinevirtual

Reimplemented in ModuleSE.

Definition at line 126 of file SystemEntity.h.

126 { return nullptr; }
virtual MoonSE* SystemEntity::GetMoonSE ( )
inlinevirtual

Reimplemented in StructureSE, and MoonSE.

Definition at line 102 of file SystemEntity.h.

Referenced by StructureSE::Init(), and StructureSE::InitData().

102 { return nullptr; }

Here is the caller graph for this function:

const char* SystemEntity::GetName ( ) const
inline

Definition at line 210 of file SystemEntity.h.

References m_self, and InventoryItem::name().

Referenced by ActiveModule::Activate(), ModuleManager::Activate(), BubbleManager::Add(), SystemBubble::Add(), SystemManager::AddEntity(), SystemManager::AddNPC(), TargetManager::AddTargetModule(), ShipSE::ApplyBoost(), ApplyDamage(), SentryAI::Attack(), DroneAIMgr::Attack(), NPCAIMgr::Attack(), ConcordAI::Attack(), AwardSecurityStatus(), DestinyManager::BeginMovement(), MiningLaser::CanActivate(), ActiveModule::CanActivate(), BubbleManager::CheckBubble(), SentryAI::CheckDistance(), DroneAIMgr::CheckDistance(), NPCAIMgr::CheckDistance(), ConcordAI::CheckDistance(), TargetManager::ClearAllTargets(), TargetManager::ClearFromTargets(), TargetManager::ClearTarget(), TargetManager::ClearTargets(), Colony::Colony(), Command_shipvars(), PlanetMgr::CreatePin(), Damage::Damage(), ActiveModule::DeactivateCycle(), TargetManager::Depleted(), TargetManager::Destroyed(), TargetManager::Dump(), TargetManager::TargetEntry::Dump(), TargetManager::TargetedByEntry::Dump(), Sentry::EncodeDestiny(), CustomsSE::EncodeDestiny(), Concord::EncodeDestiny(), Missile::EncodeDestiny(), NPC::EncodeDestiny(), DroneSE::EncodeDestiny(), AsteroidSE::EncodeDestiny(), StructureSE::EncodeDestiny(), AnomalySE::EncodeDestiny(), ContainerSE::EncodeDestiny(), WormholeSE::EncodeDestiny(), StationSE::EncodeDestiny(), EncodeDestiny(), WreckSE::EncodeDestiny(), StaticSystemEntity::EncodeDestiny(), ShipSE::EncodeDestiny(), ItemSystemEntity::EncodeDestiny(), FieldSE::EncodeDestiny(), ObjectSystemEntity::EncodeDestiny(), DynamicSystemEntity::EncodeDestiny(), BubbleManager::GetBubbleCenterMarkers(), DestinyManager::Halt(), DestinyManager::InitWarp(), DestinyManager::IsTurn(), Sentry::Killed(), CustomsSE::Killed(), NPC::Killed(), DroneSE::Killed(), StructureSE::Killed(), ShipSE::Killed(), Colony::LaunchCommodities(), TowerSE::MakeSlimItem(), CustomsSE::MakeSlimItem(), ProbeSE::MakeSlimItem(), StructureSE::MakeSlimItem(), AnomalySE::MakeSlimItem(), ContainerSE::MakeSlimItem(), WormholeSE::MakeSlimItem(), MakeSlimItem(), WreckSE::MakeSlimItem(), StaticSystemEntity::MakeSlimItem(), ShipSE::MakeSlimItem(), StargateSE::MakeSlimItem(), ItemSystemEntity::MakeSlimItem(), ObjectSystemEntity::MakeSlimItem(), DynamicSystemEntity::MakeSlimItem(), DestinyManager::MoveObject(), SpawnMgr::MoveSpawn(), DestinyManager::Orbit(), Colony::PlanetXfer(), SentryAI::Process(), DroneAIMgr::Process(), NPCAIMgr::Process(), TargetManager::Process(), StructureSE::Process(), DestinyManager::ProcessState(), BubbleManager::Remove(), ShipSE::RemoveBoost(), SystemManager::RemoveNPC(), ActiveModule::RemoveTarget(), TargetManager::RemoveTarget(), TargetManager::RemoveTargetModule(), SendDamageStateChanged(), DestinyManager::SendDestinyUpdate(), DestinyManager::SendSetState(), SystemManager::SendStaticBall(), CustomsSE::SetAnchor(), StructureSE::SetAnchor(), NPCAIMgr::SetChasing(), ConcordAI::SetChasing(), SentryAI::SetEngaged(), DroneAIMgr::SetEngaged(), NPCAIMgr::SetEngaged(), ConcordAI::SetEngaged(), NPCAIMgr::SetFleeing(), ConcordAI::SetFleeing(), NPCAIMgr::SetFollowing(), ConcordAI::SetFollowing(), SentryAI::SetIdle(), DroneAIMgr::SetIdle(), NPCAIMgr::SetIdle(), ConcordAI::SetIdle(), DestinyManager::SetMaxVelocity(), DestinyManager::SetPosition(), SentryAI::SetSignaling(), NPCAIMgr::SetSignaling(), ConcordAI::SetSignaling(), DestinyManager::SetSpeedFraction(), NPCAIMgr::SetWander(), TargetManager::StartTargeting(), SentryAI::Target(), DroneAIMgr::Target(), NPCAIMgr::Target(), TargetManager::TargetAdded(), SentryAI::Targeted(), DroneAIMgr::Targeted(), NPCAIMgr::Targeted(), ConcordAI::Targeted(), TargetManager::TargetedAdd(), TargetManager::TargetedByLocked(), TargetManager::TargetedByLost(), TargetManager::TargetedLost(), SentryAI::TargetLost(), DroneAIMgr::TargetLost(), NPCAIMgr::TargetLost(), TargetManager::TargetLost(), ConcordAI::TargetLost(), TargetManager::TargetsCleared(), DestinyManager::Turn(), Colony::Update(), DestinyManager::UpdateVelocity(), PlanetMgr::UpgradeCommandCenter(), DestinyManager::WarpAccel(), DestinyManager::WarpCruise(), DestinyManager::WarpDecel(), SpawnMgr::WarpOutSpawn(), DestinyManager::WarpStop(), DestinyManager::WarpTo(), and DestinyManager::WarpUpdate().

210 { return m_self->name(); }
const char * name()
InventoryItemRef m_self
Definition: SystemEntity.h:269

Here is the call graph for this function:

virtual NPC* SystemEntity::GetNPCSE ( )
inlinevirtual

Reimplemented in NPC.

Definition at line 134 of file SystemEntity.h.

Referenced by DestinyManager::BeginMovement(), Command_kill(), TargetManager::TargetedAdd(), TargetManager::TargetLost(), and DestinyManager::WarpStop().

134 { return nullptr; }

Here is the caller graph for this function:

virtual ObjectSystemEntity* SystemEntity::GetObjectSE ( )
inlinevirtual

Reimplemented in ObjectSystemEntity.

Definition at line 114 of file SystemEntity.h.

114 { return nullptr; }
virtual StructureSE* SystemEntity::GetOutpostSE ( )
inlinevirtual

Reimplemented in StructureSE.

Definition at line 119 of file SystemEntity.h.

Referenced by TargetManager::StartTargeting().

119 { return nullptr; }

Here is the caller graph for this function:

uint32 SystemEntity::GetOwnerID ( )
inline
virtual PlanetSE* SystemEntity::GetPlanetSE ( )
inlinevirtual

Reimplemented in StructureSE, CustomsSE, and PlanetSE.

Definition at line 101 of file SystemEntity.h.

Referenced by DynamicEntityFactory::BuildEntity(), PlanetMgrService::CreateBoundObject(), CustomsSE::CustomsSE(), and ObjectSystemEntity::Killed().

101 { return nullptr; }

Here is the caller graph for this function:

const GPoint& SystemEntity::GetPosition ( ) const
inline

Definition at line 211 of file SystemEntity.h.

References m_self, and InventoryItem::position().

Referenced by BubbleManager::Add(), SystemBubble::Add(), SentryAI::Attack(), DroneAIMgr::Attack(), NPCAIMgr::Attack(), ConcordAI::Attack(), DestinyManager::AttemptDockOperation(), Client::Board(), Scan::CalcProbeAngles(), CynoModule::CanActivate(), ActiveModule::CanActivate(), BubbleManager::CheckBubble(), SentryAI::CheckDistance(), DroneAIMgr::CheckDistance(), NPCAIMgr::CheckDistance(), ConcordAI::CheckDistance(), Command_getposition(), Command_spawn(), Command_spawnn(), Command_syncloc(), Command_tr(), Command_unspawn(), Command_update(), Scan::ConeScan(), PlanetSE::CreateCustomsOffice(), CynoModule::CreateCyno(), TowerSE::CreateForceField(), DestinyManager::DestinyManager(), DistanceTo2(), DestinyManager::DockingAccepted(), Prospector::DropSalvage(), Client::Eject(), BubbleManager::FindBubble(), DestinyManager::Follow(), BubbleManager::GetBubbleCenterMarkers(), TurretFormulas::GetSentryToHit(), StructureSE::Init(), CustomsSE::InitData(), StructureSE::InitData(), ShipSE::LaunchDrone(), ActiveModule::LaunchMissile(), NPCAIMgr::LaunchMissile(), SystemManager::LoadPlayerDynamics(), SystemManager::LoadSystemDynamics(), DestinyManager::MakeMissile(), DestinyManager::Orbit(), DroneAIMgr::Process(), NPCAIMgr::Process(), SystemBubble::ProcessWander(), ProbeSE::RecoverProbe(), ProbeSE::SendNewProbe(), SystemManager::SendStaticBall(), StructureSE::SetAnchor(), NPCAIMgr::SetChasing(), Client::SetDestiny(), TargetManager::StartTargeting(), TargetManager::TimeToLock(), DestinyManager::TractorBeamStart(), ProbeSE::UpdateProbe(), NPCAIMgr::WarpOut(), and DestinyManager::WarpTo().

211 { return m_self->position(); }
const GPoint & position() const
InventoryItemRef m_self
Definition: SystemEntity.h:269

Here is the call graph for this function:

virtual StructureSE* SystemEntity::GetPOSSE ( )
inlinevirtual

Reimplemented in StructureSE.

Definition at line 116 of file SystemEntity.h.

Referenced by StructureItem::Rename().

116 { return nullptr; }

Here is the caller graph for this function:

virtual ProbeSE* SystemEntity::GetProbeSE ( )
inlinevirtual

Reimplemented in ProbeSE.

Definition at line 112 of file SystemEntity.h.

Referenced by SystemManager::AddEntity().

112 { return nullptr; }

Here is the caller graph for this function:

virtual ReactorSE* SystemEntity::GetReactorSE ( )
inlinevirtual

Reimplemented in StructureSE, and ReactorSE.

Definition at line 127 of file SystemEntity.h.

127 { return nullptr; }
virtual SBUSE* SystemEntity::GetSBUSE ( )
inlinevirtual

Reimplemented in StructureSE, and SBUSE.

Definition at line 130 of file SystemEntity.h.

Referenced by StructureSE::Init().

130 { return nullptr; }

Here is the caller graph for this function:

virtual SystemEntity* SystemEntity::GetSE ( )
inlinevirtual

Definition at line 97 of file SystemEntity.h.

97 { return this; }
InventoryItemRef SystemEntity::GetSelf ( )
inline

Definition at line 202 of file SystemEntity.h.

References m_self.

Referenced by ShipSE::AbandonDrones(), Prospector::Activate(), ActiveModule::Activate(), StructureSE::Activate(), SystemManager::AddEntity(), AnomalyMgr::AddSignal(), SentryAI::AttackTarget(), DroneAIMgr::AttackTarget(), ConcordAI::AttackTarget(), MiningLaser::CanActivate(), ConcordAI::ConcordAI(), BeltMgr::Create(), CynoModule::DeactivateCycle(), MiningLaser::Depleted(), ActiveModule::DoCycle(), Prospector::DropSalvage(), BubbleManager::GetBubbleCenterMarkers(), TurretFormulas::GetDroneToHit(), TurretFormulas::GetNPCToHit(), TurretFormulas::GetSentryToHit(), SentryAI::GetTargetTime(), ConcordAI::GetTargetTime(), TurretFormulas::GetToHit(), Missile::HitTarget(), DestinyManager::InitWarp(), Sentry::Killed(), CustomsSE::Killed(), NPC::Killed(), DroneSE::Killed(), StructureSE::Killed(), ActiveModule::LaunchMissile(), SystemManager::LoadSystemStatics(), DestinyManager::MakeMissile(), DestinyManager::Orbit(), MiningLaser::ProcessCycle(), SystemManager::RemoveEntity(), SpawnMgr::ReSpawn(), ShipSE::ScoopDrone(), SentryAI::SentryAI(), DestinyManager::SetMaxVelocity(), DestinyManager::SpeedBoost(), SentryAI::Target(), DroneAIMgr::Target(), ConcordAI::Target(), SentryAI::Targeted(), ConcordAI::Targeted(), TargetManager::TimeToLock(), SystemManager::UnloadSystem(), TowerSE::UpdatePassword(), DestinyManager::UpdateShipVariables(), Concord::UseArmorRepairer(), Concord::UseShieldRecharge(), and DestinyManager::WarpTo().

202 { return m_self; }
InventoryItemRef m_self
Definition: SystemEntity.h:269
virtual Sentry* SystemEntity::GetSentrySE ( )
inlinevirtual

Reimplemented in Sentry.

Definition at line 125 of file SystemEntity.h.

125 { return nullptr; }
PyServiceMgr& SystemEntity::GetServices ( )
inline

Definition at line 194 of file SystemEntity.h.

References m_services.

Referenced by Prospector::DropSalvage(), and DestinyManager::MoveObject().

194 { return m_services; }
PyServiceMgr & m_services
Definition: SystemEntity.h:267

Here is the caller graph for this function:

virtual ShipSE* SystemEntity::GetShipSE ( )
inlinevirtual

Reimplemented in ShipSE.

Definition at line 137 of file SystemEntity.h.

Referenced by ApplyDamage(), DestinyManager::Eject(), DestinyManager::InitWarp(), Missile::Missile(), DestinyManager::Undock(), SystemManager::UnloadSystem(), and DestinyManager::UpdateNewShip().

137 { return nullptr; }

Here is the caller graph for this function:

virtual StaticSystemEntity* SystemEntity::GetStaticSE ( )
inlinevirtual

Reimplemented in StaticSystemEntity.

Definition at line 99 of file SystemEntity.h.

99 { return nullptr; }
virtual StationSE* SystemEntity::GetStationSE ( )
inlinevirtual

Reimplemented in StationSE.

Definition at line 100 of file SystemEntity.h.

Referenced by SystemManager::UnloadSystem().

100 { return nullptr; }

Here is the caller graph for this function:

virtual TCUSE* SystemEntity::GetTCUSE ( )
inlinevirtual

Reimplemented in StructureSE, and TCUSE.

Definition at line 129 of file SystemEntity.h.

Referenced by StructureSE::Init(), and TargetManager::StartTargeting().

129 { return nullptr; }

Here is the caller graph for this function:

virtual TowerSE* SystemEntity::GetTowerSE ( )
inlinevirtual

Reimplemented in StructureSE, and TowerSE.

Definition at line 120 of file SystemEntity.h.

Referenced by StructureSE::Init(), and TargetManager::StartTargeting().

120 { return nullptr; }

Here is the caller graph for this function:

uint16 SystemEntity::GetTypeID ( )
inline
const GVector& SystemEntity::GetVelocity ( )
inline

Definition at line 240 of file SystemEntity.h.

References DestinyManager::GetVelocity(), m_destiny, and NULL_ORIGIN_V().

Referenced by BubbleManager::Add(), TurretFormulas::GetDroneToHit(), TurretFormulas::GetNPCToHit(), TurretFormulas::GetSentryToHit(), TurretFormulas::GetToHit(), and Missile::HitTarget().

240 { return (m_destiny != nullptr ? m_destiny->GetVelocity() : NULL_ORIGIN_V); }
DestinyManager * m_destiny
Definition: SystemEntity.h:265
const GVector & GetVelocity() const
static const GVector NULL_ORIGIN_V(0, 0, 0)

Here is the call graph for this function:

Here is the caller graph for this function:

int32 SystemEntity::GetWarFactionID ( )
inline
virtual WeaponSE* SystemEntity::GetWeaponSE ( )
inlinevirtual

Reimplemented in StructureSE, and WeaponSE.

Definition at line 122 of file SystemEntity.h.

122 { return nullptr; }
virtual WormholeSE* SystemEntity::GetWormholeSE ( )
inlinevirtual

Reimplemented in WormholeSE.

Definition at line 110 of file SystemEntity.h.

110 { return nullptr; }
virtual WreckSE* SystemEntity::GetWreckSE ( )
inlinevirtual

Reimplemented in WreckSE.

Definition at line 108 of file SystemEntity.h.

Referenced by SystemManager::BuildDynamicEntity(), and Prospector::DropSalvage().

108 { return nullptr; }

Here is the caller graph for this function:

virtual bool SystemEntity::IsAnomalySE ( )
inlinevirtual

Reimplemented in AnomalySE.

Definition at line 154 of file SystemEntity.h.

154 { return false; }
virtual bool SystemEntity::IsArraySE ( )
inlinevirtual

Reimplemented in StructureSE, and ArraySE.

Definition at line 169 of file SystemEntity.h.

169 { return false; }
virtual bool SystemEntity::IsAsteroidSE ( )
inlinevirtual

Reimplemented in AsteroidSE.

Definition at line 176 of file SystemEntity.h.

Referenced by TargetManager::AddTargetModule(), TargetManager::Depleted(), TargetManager::StartTargeting(), and TargetManager::TimeToLock().

176 { return false; }

Here is the caller graph for this function:

virtual bool SystemEntity::IsBatterySE ( )
inlinevirtual

Reimplemented in StructureSE, and BatterySE.

Definition at line 172 of file SystemEntity.h.

172 { return false; }
virtual bool SystemEntity::IsBeltSE ( )
inlinevirtual

Reimplemented in BeltSE.

Definition at line 147 of file SystemEntity.h.

Referenced by SystemManager::LoadSystemStatics().

147 { return false; }

Here is the caller graph for this function:

virtual bool SystemEntity::IsCelestialSE ( )
inlinevirtual

Reimplemented in CelestialSE.

Definition at line 156 of file SystemEntity.h.

156 { return false; }
virtual bool SystemEntity::IsConcord ( )
inlinevirtual

Definition at line 191 of file SystemEntity.h.

191 { return false; }
virtual bool SystemEntity::IsContainerSE ( )
inlinevirtual

Reimplemented in ContainerSE.

Definition at line 157 of file SystemEntity.h.

Referenced by Prospector::CanActivate(), ActiveModule::CanActivate(), Delete(), SystemManager::SendStaticBall(), DestinyManager::SetSpeedFraction(), and TargetManager::TimeToLock().

157 { return false; }

Here is the caller graph for this function:

virtual bool SystemEntity::IsCOSE ( )
inlinevirtual

Reimplemented in CustomsSE.

Definition at line 164 of file SystemEntity.h.

Referenced by ActiveModule::Activate(), SystemManager::AddEntity(), StructureItem::AddItem(), and ObjectSystemEntity::Killed().

164 { return false; }

Here is the caller graph for this function:

const bool SystemEntity::IsDead ( )
inline

Definition at line 239 of file SystemEntity.h.

References m_killed.

Referenced by ActiveModule::Activate(), and DestinyManager::UpdateOldShip().

239 { return m_killed; }

Here is the caller graph for this function:

virtual bool SystemEntity::IsDeployableSE ( )
inlinevirtual

Reimplemented in DeployableSE.

Definition at line 177 of file SystemEntity.h.

Referenced by TargetManager::TimeToLock().

177 { return false; }

Here is the caller graph for this function:

virtual bool SystemEntity::IsDroneSE ( )
inlinevirtual
virtual bool SystemEntity::IsDynamicEntity ( )
inlinevirtual

Reimplemented in DynamicSystemEntity.

Definition at line 182 of file SystemEntity.h.

Referenced by DestinyManager::Halt(), and DestinyManager::SetSpeedFraction().

182 { return false; }

Here is the caller graph for this function:

virtual bool SystemEntity::IsFieldSE ( )
inlinevirtual

Reimplemented in FieldSE.

Definition at line 158 of file SystemEntity.h.

158 { return false; }
virtual bool SystemEntity::IsFrozen ( )
inlinevirtual

Reimplemented in DynamicSystemEntity, and ShipSE.

Definition at line 185 of file SystemEntity.h.

Referenced by DestinyManager::Process().

185 { return false; }

Here is the caller graph for this function:

virtual bool SystemEntity::IsGateSE ( )
inlinevirtual

Reimplemented in StargateSE.

Definition at line 148 of file SystemEntity.h.

Referenced by SystemManager::LoadSystemStatics().

148 { return false; }

Here is the caller graph for this function:

virtual bool SystemEntity::isGlobal ( )
inlinevirtual

Reimplemented in StaticSystemEntity, ContainerSE, TCUSE, IHubSE, and SBUSE.

Definition at line 142 of file SystemEntity.h.

References InventoryItem::isGlobal(), and m_self.

Referenced by SystemBubble::Add(), SystemManager::AddEntity(), ApplyDamage(), and SystemManager::UnloadSystem().

142 { return m_self->isGlobal(); } // not all items have this attribute set
bool isGlobal() const
InventoryItemRef m_self
Definition: SystemEntity.h:269

Here is the call graph for this function:

Here is the caller graph for this function:

virtual bool SystemEntity::IsIHubSE ( )
inlinevirtual

Reimplemented in StructureSE, and IHubSE.

Definition at line 167 of file SystemEntity.h.

Referenced by TargetManager::StartTargeting().

167 { return false; }

Here is the caller graph for this function:

virtual bool SystemEntity::IsInanimateSE ( )
inlinevirtual

Reimplemented in ObjectSystemEntity, ItemSystemEntity, and StaticSystemEntity.

Definition at line 144 of file SystemEntity.h.

Referenced by TargetManager::TimeToLock().

144 { return false; }

Here is the caller graph for this function:

virtual bool SystemEntity::IsInvul ( )
inlinevirtual

Reimplemented in DynamicSystemEntity, ObjectSystemEntity, and ShipSE.

Definition at line 184 of file SystemEntity.h.

184 { return false; }
virtual bool SystemEntity::IsItemEntity ( )
inlinevirtual

Reimplemented in ItemSystemEntity.

Definition at line 153 of file SystemEntity.h.

Referenced by ActiveModule::Activate().

153 { return false; }

Here is the caller graph for this function:

virtual bool SystemEntity::IsJammerSE ( )
inlinevirtual

Reimplemented in StructureSE.

Definition at line 170 of file SystemEntity.h.

170 { return false; }
virtual bool SystemEntity::IsJumpBridgeSE ( )
inlinevirtual

Reimplemented in StructureSE, and JumpBridgeSE.

Definition at line 178 of file SystemEntity.h.

178 { return false; }
virtual bool SystemEntity::IsLogin ( )
inlinevirtual

Reimplemented in ShipSE.

Definition at line 183 of file SystemEntity.h.

183 { return false; }
virtual bool SystemEntity::IsMissileSE ( )
inlinevirtual

Reimplemented in Missile.

Definition at line 189 of file SystemEntity.h.

Referenced by DestinyManager::SetSpeedFraction().

189 { return false; }

Here is the caller graph for this function:

virtual bool SystemEntity::IsModuleSE ( )
inlinevirtual

Reimplemented in ModuleSE.

Definition at line 173 of file SystemEntity.h.

173 { return false; }
virtual bool SystemEntity::IsMoonMiner ( )
inlinevirtual

Reimplemented in StructureSE.

Definition at line 174 of file SystemEntity.h.

174 { return false; }
virtual bool SystemEntity::IsMoonSE ( )
inlinevirtual

Reimplemented in MoonSE.

Definition at line 150 of file SystemEntity.h.

150 { return false; }
virtual bool SystemEntity::IsObjectEntity ( )
inlinevirtual

Reimplemented in ObjectSystemEntity.

Definition at line 161 of file SystemEntity.h.

161 { return false; }
virtual bool SystemEntity::IsOperSE ( )
inlinevirtual

Reimplemented in TCUSE, IHubSE, and SBUSE.

Definition at line 180 of file SystemEntity.h.

Referenced by SystemManager::AddEntity(), DestinyManager::SendDestinyUpdate(), and SystemManager::UnloadSystem().

180 { return false; }

Here is the caller graph for this function:

virtual bool SystemEntity::IsOutpostSE ( )
inlinevirtual

Reimplemented in StructureSE.

Definition at line 175 of file SystemEntity.h.

Referenced by TargetManager::StartTargeting().

175 { return false; }

Here is the caller graph for this function:

virtual bool SystemEntity::IsPlanetSE ( )
inlinevirtual

Reimplemented in PlanetSE.

Definition at line 149 of file SystemEntity.h.

Referenced by DynamicEntityFactory::BuildEntity(), and PlanetMgrService::CreateBoundObject().

149 { return false; }

Here is the caller graph for this function:

virtual bool SystemEntity::IsPOSSE ( )
inlinevirtual

Reimplemented in StructureSE.

Definition at line 163 of file SystemEntity.h.

Referenced by DestinyManager::SetPosition().

163 { return false; }

Here is the caller graph for this function:

virtual bool SystemEntity::IsProbeSE ( )
inlinevirtual

Reimplemented in ProbeSE.

Definition at line 159 of file SystemEntity.h.

Referenced by SystemManager::AddEntity(), DestinyManager::SetPosition(), and SystemManager::UnloadSystem().

159 { return false; }

Here is the caller graph for this function:

virtual bool SystemEntity::IsReactorSE ( )
inlinevirtual

Reimplemented in StructureSE, and ReactorSE.

Definition at line 179 of file SystemEntity.h.

179 { return false; }
virtual bool SystemEntity::IsSBUSE ( )
inlinevirtual

Reimplemented in StructureSE, and SBUSE.

Definition at line 166 of file SystemEntity.h.

166 { return false; }
virtual bool SystemEntity::IsSentrySE ( )
inlinevirtual

Reimplemented in Sentry.

Definition at line 162 of file SystemEntity.h.

Referenced by TargetManager::TargetLost().

162 { return false; }

Here is the caller graph for this function:

virtual bool SystemEntity::IsShipSE ( )
inlinevirtual

Reimplemented in ShipSE.

Definition at line 190 of file SystemEntity.h.

Referenced by DestinyManager::SetMaxVelocity(), DestinyManager::Undock(), SystemManager::UnloadSystem(), and DestinyManager::WarpStop().

190 { return false; }

Here is the caller graph for this function:

virtual bool SystemEntity::IsStaticEntity ( )
inlinevirtual

Reimplemented in StaticSystemEntity.

Definition at line 146 of file SystemEntity.h.

Referenced by ActiveModule::Activate(), SystemBubble::Add(), and SystemManager::UnloadSystem().

146 { return false; }

Here is the caller graph for this function:

virtual bool SystemEntity::IsStationSE ( )
inlinevirtual

Reimplemented in StationSE.

Definition at line 151 of file SystemEntity.h.

Referenced by DestinyManager::Follow(), SystemManager::LoadSystemStatics(), and SystemManager::UnloadSystem().

151 { return false; }

Here is the caller graph for this function:

virtual bool SystemEntity::IsSystemEntity ( )
inlinevirtual

Definition at line 143 of file SystemEntity.h.

143 { return true; }
virtual bool SystemEntity::IsTCUSE ( )
inlinevirtual

Reimplemented in StructureSE, and TCUSE.

Definition at line 165 of file SystemEntity.h.

Referenced by TargetManager::StartTargeting().

165 { return false; }

Here is the caller graph for this function:

virtual bool SystemEntity::IsTowerSE ( )
inlinevirtual

Reimplemented in StructureSE, and TowerSE.

Definition at line 168 of file SystemEntity.h.

Referenced by TargetManager::StartTargeting().

168 { return false; }

Here is the caller graph for this function:

virtual bool SystemEntity::IsWeaponSE ( )
inlinevirtual

Reimplemented in StructureSE, and WeaponSE.

Definition at line 171 of file SystemEntity.h.

171 { return false; }
virtual bool SystemEntity::IsWormholeSE ( )
inlinevirtual

Reimplemented in WormholeSE.

Definition at line 155 of file SystemEntity.h.

155 { return false; }
virtual bool SystemEntity::IsWreckSE ( )
inlinevirtual

Reimplemented in WreckSE.

Definition at line 188 of file SystemEntity.h.

Referenced by ActiveModule::Activate(), Prospector::CanActivate(), ActiveModule::CanActivate(), MakeDamageState(), DestinyManager::SetSpeedFraction(), and TargetManager::TimeToLock().

188 { return false; }

Here is the caller graph for this function:

void SystemEntity::Killed ( Damage fatal_blow)
virtual

Reimplemented in ObjectSystemEntity, ShipSE, StructureSE, DroneSE, NPC, Concord, CustomsSE, and Sentry.

Definition at line 135 of file SystemEntity.cpp.

References Delete(), TargetManager::Destroyed(), m_targMgr, and SafeDelete().

Referenced by ApplyDamage(), and Command_kill().

136 {
137  if (m_targMgr != nullptr) {
138  // loop thru list of all modules targeting this entity and let them know it has been killed.
139  m_targMgr->Destroyed();
140  // remove TargMgr here to avoid redundant calls upon object deletion
142  }
143  Delete();
144 }
void SafeDelete(T *&p)
Deletes and nullifies a pointer.
Definition: SafeMem.h:83
virtual void Delete()
TargetManager * m_targMgr
Definition: SystemEntity.h:264

Here is the call graph for this function:

Here is the caller graph for this function:

virtual bool SystemEntity::LoadExtras ( )
inlinevirtual

Reimplemented in StargateSE, BeltSE, StaticSystemEntity, PlanetSE, and MoonSE.

Definition at line 251 of file SystemEntity.h.

Referenced by SystemManager::LoadSystemStatics().

251 { return true; }

Here is the caller graph for this function:

PyTuple * SystemEntity::MakeDamageState ( )

Definition at line 86 of file SystemEntity.cpp.

References IsWreckSE().

Referenced by SystemBubble::AddBallExclusive(), SystemManager::AddMarker(), ItemSystemEntity::MakeDamageState(), SystemManager::SendStaticBall(), and TargetManager::TargetAdded().

86  {
87  if (IsWreckSE()) {
88  DoDestinyDamageState3 ddds;
89  ddds.shield = 0;
90  ddds.armor = 0;
91  ddds.structure = 1.0;
92  return ddds.Encode();
93  }
94  DoDestinyDamageState ddds;
95  MakeDamageState(ddds);
96  return ddds.Encode();
97 }
PyTuple * MakeDamageState()
virtual bool IsWreckSE()
Definition: SystemEntity.h:188

Here is the call graph for this function:

Here is the caller graph for this function:

void SystemEntity::MakeDamageState ( DoDestinyDamageState &  into)
virtual

Reimplemented in DynamicSystemEntity, ObjectSystemEntity, ItemSystemEntity, ShipSE, ContainerSE, CelestialSE, AsteroidSE, ProbeSE, DroneSE, and Missile.

Definition at line 99 of file SystemEntity.cpp.

References GetFileTimeNow().

99  {
100  into.shield = 1;
101  into.recharge = 110000;
102  into.armor = 1;
103  into.structure = 1;
104  into.timestamp = GetFileTimeNow();
105 }
double GetFileTimeNow()
Definition: utils_time.cpp:84

Here is the call graph for this function:

PyDict * SystemEntity::MakeSlimItem ( )
virtual

Reimplemented in DynamicSystemEntity, ObjectSystemEntity, FieldSE, ItemSystemEntity, StargateSE, ShipSE, StaticSystemEntity, WreckSE, StationSE, WormholeSE, ContainerSE, AnomalySE, StructureSE, ProbeSE, DroneSE, Missile, CustomsSE, and TowerSE.

Definition at line 107 of file SystemEntity.cpp.

References _log, GetName(), InventoryItem::itemID(), m_ownerID, m_self, and InventoryItem::typeID().

Referenced by SystemBubble::AddBallExclusive(), SystemManager::AddMarker(), FieldSE::MakeSlimItem(), DynamicSystemEntity::MakeSlimItem(), WreckContainer::MakeSlimItemChange(), and SystemManager::SendStaticBall().

107  {
108  _log(SE__SLIMITEM, "MakeSlimItem for SE %s(%u)", GetName(), m_self->itemID());
109  PyDict *slim = new PyDict();
110  slim->SetItemString("typeID", new PyInt(m_self->typeID()));
111  slim->SetItemString("ownerID", new PyInt(m_ownerID));
112  slim->SetItemString("itemID", new PyLong(m_self->itemID()));
113  return slim;
114 }
#define _log(type, fmt,...)
Definition: logsys.h:124
Python's dictionary.
Definition: PyRep.h:719
uint32 m_ownerID
Definition: SystemEntity.h:283
InventoryItemRef m_self
Definition: SystemEntity.h:269
Python integer.
Definition: PyRep.h:231
const char * GetName() const
Definition: SystemEntity.h:210
uint16 typeID() const
uint32 itemID() const
Definition: InventoryItem.h:98
Python long integer.
Definition: PyRep.h:261

Here is the call graph for this function:

Here is the caller graph for this function:

virtual void SystemEntity::MissileLaunched ( Missile pMissile)
inlinevirtual

Reimplemented in ShipSE, StructureSE, NPC, CustomsSE, and TowerSE.

Definition at line 249 of file SystemEntity.h.

Referenced by ActiveModule::LaunchMissile(), and NPCAIMgr::LaunchMissile().

249 { /* Do nothing here */ }

Here is the caller graph for this function:

void SystemEntity::Process ( )
virtual

Reimplemented in ShipSE, WreckSE, ContainerSE, StructureSE, AsteroidSE, DroneSE, ReactorSE, NPC, Missile, Concord, PlanetSE, CustomsSE, Sentry, ModuleSE, TowerSE, ArraySE, BatterySE, JumpBridgeSE, TCUSE, WeaponSE, IHubSE, and SBUSE.

Definition at line 76 of file SystemEntity.cpp.

References _log, InventoryItem::itemID(), m_destiny, m_killed, m_self, InventoryItem::name(), and DestinyManager::Process().

Referenced by Sentry::Process(), CustomsSE::Process(), Concord::Process(), Missile::Process(), NPC::Process(), DroneSE::Process(), AsteroidSE::Process(), StructureSE::Process(), ContainerSE::Process(), WreckSE::Process(), and ShipSE::Process().

76  {
77  if (m_killed) {
78  _log(SE__DEBUG, "SE::Process() - %s(%u) is dead but still in system.", m_self->name(), m_self->itemID());
79  return;
80  }
81 
82  if (m_destiny != nullptr)
83  m_destiny->Process();
84 }
#define _log(type, fmt,...)
Definition: logsys.h:124
DestinyManager * m_destiny
Definition: SystemEntity.h:265
const char * name()
InventoryItemRef m_self
Definition: SystemEntity.h:269
uint32 itemID() const
Definition: InventoryItem.h:98

Here is the call graph for this function:

Here is the caller graph for this function:

virtual bool SystemEntity::ProcessTic ( )
inlinevirtual

Reimplemented in ProbeSE.

Definition at line 92 of file SystemEntity.h.

92 { return true; } // not used yet
void SystemEntity::SendDamageStateChanged ( )

Definition at line 162 of file SystemEntity.cpp.

References _log, AttrArmorDamage, AttrArmorHP, AttrDamage, AttrHP, AttrShieldCapacity, AttrShieldCharge, AttrShieldRechargeRate, EvilNumber::get_double(), InventoryItem::GetAttribute(), GetFileTimeNow(), GetName(), InventoryItem::itemID(), m_self, m_targMgr, PySafeDecRef, and TargetManager::QueueUpdate().

Referenced by ApplyDamage(), ShipSE::Process(), ActiveModule::UpdateCharge(), and ActiveModule::UpdateDamage().

162  { //working 24Apr15
163  DamageDetails dmgState;
165  dmgState.recharge = m_self->GetAttribute(AttrShieldRechargeRate).get_double();
166  dmgState.timestamp = GetFileTimeNow();
168  dmgState.structure = (1.0 - (m_self->GetAttribute(AttrDamage).get_double() / m_self->GetAttribute(AttrHP).get_double()));
169  OnDamageStateChange dmgChange;
170  dmgChange.entityID = m_self->itemID();
171  dmgChange.state = dmgState.Encode();
172  PyTuple *up = dmgChange.Encode();
173  if (m_targMgr != nullptr)
174  m_targMgr->QueueUpdate(&up);
175  PySafeDecRef(up);
176  _log(DAMAGE__MESSAGE, "%s(%u): DamageUpdate - S:%f A:%f H:%f.", \
177  GetName(), m_self->itemID(), dmgState.shield, dmgState.armor, dmgState.structure);
178 }
void QueueUpdate(PyTuple **up) const
#define _log(type, fmt,...)
Definition: logsys.h:124
Python tuple.
Definition: PyRep.h:567
TargetManager * m_targMgr
Definition: SystemEntity.h:264
InventoryItemRef m_self
Definition: SystemEntity.h:269
const char * GetName() const
Definition: SystemEntity.h:210
double GetFileTimeNow()
Definition: utils_time.cpp:84
EvilNumber GetAttribute(const uint16 attrID) const
double get_double()
Definition: EvilNumber.cpp:191
#define PySafeDecRef(op)
Definition: PyRep.h:61
uint32 itemID() const
Definition: InventoryItem.h:98

Here is the call graph for this function:

Here is the caller graph for this function:

void SystemEntity::SetFleetID ( uint32  set)
inline

Definition at line 221 of file SystemEntity.h.

References m_fleetID.

Referenced by SystemManager::BuildDynamicEntity().

221 { m_fleetID = set; }
uint32 m_fleetID
Definition: SystemEntity.h:282

Here is the caller graph for this function:

void SystemEntity::SetHarmonic ( int8  set)
inline

Definition at line 224 of file SystemEntity.h.

References m_harmonic.

Referenced by TowerSE::CreateForceField(), and TowerSE::UpdatePassword().

224 { m_harmonic = set; }
int32 m_harmonic
Definition: SystemEntity.h:276

Here is the caller graph for this function:

virtual void SystemEntity::SetPilot ( Client pClient)
inlinevirtual

Reimplemented in ShipSE.

Definition at line 257 of file SystemEntity.h.

257 { /* Do nothing here */ }
void SystemEntity::SetPosition ( const GPoint pos)
inline

Definition at line 212 of file SystemEntity.h.

References m_self, and InventoryItem::SetPosition().

Referenced by CynoModule::CreateCyno(), SystemManager::LoadPlayerDynamics(), SystemManager::LoadSystemDynamics(), DestinyManager::SetPosition(), and Client::WarpOut().

212 { m_self->SetPosition(pos); }
void SetPosition(const GPoint &pos)
InventoryItemRef m_self
Definition: SystemEntity.h:269

Here is the call graph for this function:

Here is the caller graph for this function:

SystemBubble* SystemEntity::SysBubble ( )
inline

Definition at line 195 of file SystemEntity.h.

References m_bubble.

Referenced by ActiveModule::Activate(), BubbleManager::Add(), AnomalyMgr::AddSignal(), SentryAI::Attack(), DroneAIMgr::Attack(), NPCAIMgr::Attack(), ConcordAI::Attack(), Client::Board(), CynoModule::CanActivate(), MiningLaser::CanActivate(), BubbleManager::CheckBubble(), DestinyManager::CheckBump(), DestinyManager::Cloak(), Command_addball(), Command_addball2(), Command_beltlist(), Command_bubblelist(), Command_bubbletrack(), Command_bubblewarp(), Command_destinyvars(), Command_dropLoot(), Command_entityspawn(), Command_getposition(), Command_halt(), Command_killallnpcs(), Command_list(), Command_location(), Command_sendstate(), Command_shipvars(), Command_status(), Command_syncloc(), Command_syncpos(), Command_unspawn(), Command_update(), Command_warpto(), WormholeMgr::Create(), BeltMgr::Create(), DungeonMgr::Create(), Client::Eject(), FleetService::FleetBroadcast(), FleetService::GetFleetMembersOnGrid(), DestinyManager::Jump(), WreckContainer::MakeSlimItemChange(), DestinyManager::MoveObject(), SpawnMgr::MoveSpawn(), SentryAI::Process(), DroneAIMgr::Process(), NPCAIMgr::Process(), ConcordAI::Process(), BubbleManager::Remove(), SystemBubble::RemoveBalls(), InventoryItem::Rename(), DestinyManager::SendDestinyUpdate(), DestinyManager::SendSetState(), SystemManager::SendStaticBall(), Client::SetBallPark(), NPCAIMgr::SetIdle(), ActiveModule::SetSlaveData(), NPCAIMgr::SetWander(), BeltMgr::SpawnBelt(), DestinyManager::UnCloak(), DestinyManager::UpdateShipVariables(), DestinyManager::WarpAccel(), NPCAIMgr::WarpOut(), SpawnMgr::WarpOutSpawn(), and DestinyManager::WarpTo().

195 { return m_bubble; }
SystemBubble * m_bubble
Definition: SystemEntity.h:262
virtual void SystemEntity::UpdateDamage ( )
inlinevirtual

Reimplemented in DynamicSystemEntity, and ObjectSystemEntity.

Definition at line 250 of file SystemEntity.h.

Referenced by ObjectSystemEntity::UpdateDamage(), and DynamicSystemEntity::UpdateDamage().

250 { /* Do nothing here */ }

Here is the caller graph for this function:

Friends And Related Function Documentation

friend class SystemBubble
friend

Definition at line 85 of file SystemEntity.h.

Member Data Documentation

uint32 SystemEntity::m_fleetID
protected

Definition at line 282 of file SystemEntity.h.

Referenced by Abandon(), GetFleetID(), WreckSE::MakeSlimItem(), SetFleetID(), and SystemEntity().

bool SystemEntity::m_killed
protected
InventoryItemRef SystemEntity::m_self
protected

Definition at line 269 of file SystemEntity.h.

Referenced by Concord::_UpdateDamage(), Abandon(), StructureSE::Activate(), ApplyDamage(), DynamicSystemEntity::AwardBounty(), Concord::Concord(), ContainerSE::ContainerSE(), PlanetSE::CreateCustomsOffice(), TowerSE::CreateForceField(), CustomsSE::CustomsSE(), AsteroidSE::Delete(), Delete(), DroneSE::DroneSE(), Sentry::EncodeDestiny(), StructureSE::EncodeDestiny(), AnomalySE::EncodeDestiny(), ContainerSE::EncodeDestiny(), WormholeSE::EncodeDestiny(), StationSE::EncodeDestiny(), EncodeDestiny(), WreckSE::EncodeDestiny(), StaticSystemEntity::EncodeDestiny(), ShipSE::EncodeDestiny(), ItemSystemEntity::EncodeDestiny(), FieldSE::EncodeDestiny(), ObjectSystemEntity::EncodeDestiny(), DynamicSystemEntity::EncodeDestiny(), GetCategoryID(), StructureSE::GetEffectState(), GetFlag(), GetGroupID(), GetID(), GetLocationID(), GetName(), PlanetSE::GetPlanetInfo(), GetPosition(), GetSelf(), GetTypeID(), Missile::HitTarget(), IHubSE::Init(), SBUSE::Init(), TowerSE::Init(), TCUSE::Init(), CustomsSE::Init(), ReactorSE::Init(), StructureSE::Init(), CustomsSE::InitData(), isGlobal(), Sentry::Killed(), CustomsSE::Killed(), NPC::Killed(), DroneSE::Killed(), StructureSE::Killed(), ShipSE::Killed(), PlanetSE::LoadExtras(), BeltSE::LoadExtras(), StargateSE::LoadExtras(), Concord::MakeDamageState(), Missile::MakeDamageState(), DroneSE::MakeDamageState(), ProbeSE::MakeDamageState(), CelestialSE::MakeDamageState(), ShipSE::MakeDamageState(), ItemSystemEntity::MakeDamageState(), ObjectSystemEntity::MakeDamageState(), DynamicSystemEntity::MakeDamageState(), TowerSE::MakeSlimItem(), CustomsSE::MakeSlimItem(), Missile::MakeSlimItem(), DroneSE::MakeSlimItem(), ProbeSE::MakeSlimItem(), StructureSE::MakeSlimItem(), AnomalySE::MakeSlimItem(), ContainerSE::MakeSlimItem(), WormholeSE::MakeSlimItem(), StationSE::MakeSlimItem(), MakeSlimItem(), WreckSE::MakeSlimItem(), StaticSystemEntity::MakeSlimItem(), ShipSE::MakeSlimItem(), StargateSE::MakeSlimItem(), ItemSystemEntity::MakeSlimItem(), ObjectSystemEntity::MakeSlimItem(), DynamicSystemEntity::MakeSlimItem(), Missile::Missile(), NPC::NPC(), ShipSE::PayInsurance(), ProbeSE::ProbeSE(), Process(), StructureSE::Process(), ShipSE::Process(), ProbeSE::ProcessTic(), CustomsSE::PullAnchor(), StructureSE::PullAnchor(), ProbeSE::RecoverProbe(), DroneSE::RemoveDrone(), NPC::RemoveNPC(), ProbeSE::RemoveProbe(), Sentry::RemoveSentry(), DroneSE::SaveDrone(), NPC::SaveNPC(), Sentry::SaveSentry(), TowerSE::Scoop(), StructureSE::Scoop(), SendDamageStateChanged(), ProbeSE::SendNewProbe(), ProbeSE::SendSlimChange(), CustomsSE::SendSlimUpdate(), StructureSE::SendSlimUpdate(), ProbeSE::SendStateChange(), ProbeSE::SendWarpEnd(), ProbeSE::SendWarpStart(), Sentry::Sentry(), CustomsSE::SetAnchor(), StructureSE::SetAnchor(), IHubSE::SetOffline(), StructureSE::SetOffline(), IHubSE::SetOnline(), JumpBridgeSE::SetOnline(), TowerSE::SetOnline(), StructureSE::SetOnline(), DroneSE::SetOwner(), ShipSE::SetPilot(), SetPosition(), Sentry::SetResists(), NPC::SetResists(), Concord::SetResists(), DroneSE::SetResists(), DroneSE::StateChange(), SystemEntity(), TowerSE::TowerSE(), StationSE::UnloadStation(), ObjectSystemEntity::UpdateDamage(), DynamicSystemEntity::UpdateDamage(), ProbeSE::UpdateProbe(), NPC::UseArmorRepairer(), NPC::UseHullRepairer(), NPC::UseShieldRecharge(), CustomsSE::VerifyAddItem(), WreckSE::WreckSE(), x(), y(), and z().

PyServiceMgr& SystemEntity::m_services
protected

The documentation for this class was generated from the following files: