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

#include "SystemEntity.h"

Inheritance diagram for BeltSE:
Collaboration diagram for BeltSE:

Public Member Functions

 BeltSE (InventoryItemRef self, PyServiceMgr &services, SystemManager *system)
 
virtual ~BeltSE ()
 
virtual BeltSE * GetBeltSE ()
 
virtual bool IsBeltSE ()
 
virtual bool LoadExtras ()
 
BeltMgr * GetBeltMgr ()
 
void SetBeltMgr (BeltMgr *beltMgr)
 
- Public Member Functions inherited from StaticSystemEntity
 StaticSystemEntity (InventoryItemRef self, PyServiceMgr &services, SystemManager *system)
 
virtual ~StaticSystemEntity ()
 
virtual StaticSystemEntity * GetStaticSE ()
 
virtual bool isGlobal ()
 
virtual bool IsInanimateSE ()
 
virtual bool IsStaticEntity ()
 
virtual void EncodeDestiny (Buffer &into)
 
virtual PyDict * MakeSlimItem ()
 
- Public Member Functions inherited from SystemEntity
 SystemEntity (InventoryItemRef self, PyServiceMgr &services, SystemManager *system)
 
virtual ~SystemEntity ()
 
virtual void Process ()
 
virtual bool ProcessTic ()
 
virtual SystemEntity * GetSE ()
 
virtual StationSE * GetStationSE ()
 
virtual PlanetSE * GetPlanetSE ()
 
virtual MoonSE * GetMoonSE ()
 
virtual StargateSE * GetGateSE ()
 
virtual ItemSystemEntity * GetItemSE ()
 
virtual ContainerSE * GetContSE ()
 
virtual WreckSE * GetWreckSE ()
 
virtual AnomalySE * GetAnomalySE ()
 
virtual WormholeSE * GetWormholeSE ()
 
virtual FieldSE * GetFieldSE ()
 
virtual ProbeSE * GetProbeSE ()
 
virtual ObjectSystemEntity * GetObjectSE ()
 
virtual AsteroidSE * GetAsteroidSE ()
 
virtual StructureSE * GetPOSSE ()
 
virtual StructureSE * GetJammerSE ()
 
virtual JumpBridgeSE * GetJumpBridgeSE ()
 
virtual StructureSE * GetOutpostSE ()
 
virtual TowerSE * GetTowerSE ()
 
virtual ArraySE * GetArraySE ()
 
virtual WeaponSE * GetWeaponSE ()
 
virtual BatterySE * GetBatterySE ()
 
virtual DeployableSE * GetDeployableSE ()
 
virtual Sentry * GetSentrySE ()
 
virtual ModuleSE * GetModuleSE ()
 
virtual ReactorSE * GetReactorSE ()
 
virtual CustomsSE * GetCOSE ()
 
virtual TCUSE * GetTCUSE ()
 
virtual SBUSE * GetSBUSE ()
 
virtual IHubSE * GetIHubSE ()
 
virtual DynamicSystemEntity * GetDynamicSE ()
 
virtual NPC * GetNPCSE ()
 
virtual DroneSE * GetDroneSE ()
 
virtual Missile * GetMissileSE ()
 
virtual ShipSE * GetShipSE ()
 
virtual Concord * GetConcordSE ()
 
virtual bool IsSystemEntity ()
 
virtual bool 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 ()
 
PyServiceMgr & GetServices ()
 
SystemBubble * SysBubble ()
 
SystemManager * SystemMgr ()
 
TargetManager * TargetMgr ()
 
DestinyManager * DestinyMgr ()
 
InventoryItemRef GetSelf ()
 
uint16 GetTypeID ()
 
uint32 GetGroupID ()
 
uint8 GetCategoryID ()
 
EVEItemFlags GetFlag ()
 
uint32 GetID ()
 
double GetRadius ()
 
uint32 GetLocationID ()
 
const char * GetName () const
 
const GPoint & GetPosition () const
 
void SetPosition (const GPoint &pos)
 
double x ()
 
double y ()
 
double z ()
 
int32 GetAllianceID ()
 
int32 GetWarFactionID ()
 
uint32 GetCorporationID ()
 
uint32 GetOwnerID ()
 
uint32 GetFleetID ()
 
void SetFleetID (uint32 set)
 
int8 GetHarmonic ()
 
void SetHarmonic (int8 set)
 
void DropLoot (WreckContainerRef wreckRef, uint32 groupID, uint32 owner)
 
void AwardSecurityStatus (InventoryItemRef iRef, Character *pChar)
 
void SendDamageStateChanged ()
 
bool ApplyDamage (Damage &d)
 
double DistanceTo2 (const SystemEntity *other)
 
PyTuple * MakeDamageState ()
 
virtual void Abandon ()
 
const bool IsDead ()
 
const GVector & GetVelocity ()
 
virtual void Killed (Damage &fatal_blow)
 
virtual void MakeDamageState (DoDestinyDamageState &into)
 
virtual void MissileLaunched (Missile *pMissile)
 
virtual void UpdateDamage ()
 
virtual void Delete ()
 
virtual void SetPilot (Client *pClient)
 
virtual bool HasPilot ()
 
virtual Client * GetPilot ()
 

Protected Attributes

BeltMgr * m_beltMgr
 
- 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
 

Detailed Description

Definition at line 314 of file SystemEntity.h.

Constructor & Destructor Documentation

BeltSE::BeltSE ( InventoryItemRef  self,
PyServiceMgr &  services,
SystemManager *  system 
)

Definition at line 296 of file SystemEntity.cpp.

297 : StaticSystemEntity(self, services, system)
298 {
299 }
StaticSystemEntity(InventoryItemRef self, PyServiceMgr &services, SystemManager *system)
virtual BeltSE::~BeltSE ( )
inlinevirtual

Definition at line 319 of file SystemEntity.h.

319 { /* Do nothing here */ }

Member Function Documentation

BeltMgr* BeltSE::GetBeltMgr ( )
inline

Definition at line 330 of file SystemEntity.h.

References m_beltMgr.

330 { return m_beltMgr; }
BeltMgr * m_beltMgr
Definition: SystemEntity.h:336
virtual BeltSE* BeltSE::GetBeltSE ( )
inlinevirtual

Reimplemented from SystemEntity.

Definition at line 322 of file SystemEntity.h.

322 { return this; }
virtual bool BeltSE::IsBeltSE ( )
inlinevirtual

Reimplemented from SystemEntity.

Definition at line 324 of file SystemEntity.h.

324 { return true; }
bool BeltSE::LoadExtras ( )
virtual

Reimplemented from StaticSystemEntity.

Definition at line 301 of file SystemEntity.cpp.

References _log, SystemBubble::GetID(), StaticSystemEntity::LoadExtras(), SystemEntity::m_bubble, SystemEntity::m_self, sBubbleMgr, and SystemBubble::SetBelt().

301  {
303  return false;
304 
305  if (m_bubble == nullptr)
306  sBubbleMgr.Add(this);
307 
309  _log(DESTINY__BUBBLE_DEBUG, "BeltSE::LoadExtras() - IsBelt set to true for bubble %u.", m_bubble->GetID() );
310  return true;
311 }
#define _log(type, fmt,...)
Definition: logsys.h:124
SystemBubble * m_bubble
Definition: SystemEntity.h:262
InventoryItemRef m_self
Definition: SystemEntity.h:269
uint16 GetID()
Definition: SystemBubble.h:91
void SetBelt(InventoryItemRef itemRef)
virtual bool LoadExtras()
#define sBubbleMgr

Here is the call graph for this function:

void BeltSE::SetBeltMgr ( BeltMgr *  beltMgr)
inline

Definition at line 333 of file SystemEntity.h.

References m_beltMgr.

Referenced by SystemManager::LoadSystemStatics().

333 { m_beltMgr = beltMgr; }
BeltMgr * m_beltMgr
Definition: SystemEntity.h:336

Here is the caller graph for this function:

Member Data Documentation

BeltMgr* BeltSE::m_beltMgr
protected

Definition at line 336 of file SystemEntity.h.

Referenced by GetBeltMgr(), and SetBeltMgr().


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