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

#include "SubSystemModule.h"

Inheritance diagram for SubSystemModule:
Collaboration diagram for SubSystemModule:

Public Member Functions

virtual ~SubSystemModule ()
 
virtual SubSystemModuleGetSubSystemModule ()
 
virtual bool IsSubSystemModule () const
 
SubSystemModule.cpp

SubSystem module class : Allan

Date
: 10 June 2015 -UD/RW 02 April 2017
 SubSystemModule (ModuleItemRef mRef, ShipItemRef sRef)
 
int8 GetModulePowerLevel ()
 
- Public Member Functions inherited from PassiveModule
virtual ~PassiveModule ()
 
virtual PassiveModuleGetPassiveModule ()
 
bool IsPassiveModule () const
 
 PassiveModule (ModuleItemRef mRef, ShipItemRef sRef)
 
- Public Member Functions inherited from GenericModule
ModuleItemRef GetSelf ()
 
ShipItemRef GetShipRef ()
 
void Repair ()
 
bool HasAttribute (uint32 attrID)
 
void SetAttribute (uint32 attrID, EvilNumber val, bool update=true)
 
void ResetAttribute (uint32 attrID)
 
EvilNumber GetAttribute (uint32 attrID)
 
bool isWarpSafe ()
 
bool isTurretFitted ()
 
bool isLauncherFitted ()
 
virtual ActiveModuleGetActiveModule ()
 
virtual MiningLaserGetMiningModule ()
 
virtual ProspectorGetProspectModule ()
 
virtual TurretModuleGetTurretModule ()
 
virtual SuperWeaponGetSuperWeapon ()
 
virtual RigModuleGetRigModule ()
 
virtual CynoModuleGetCynoModule ()
 
virtual bool IsGenericModule () const
 
virtual bool IsActiveModule () const
 
virtual bool IsMiningLaser () const
 
virtual bool IsProspectModule () const
 
virtual bool IsCynoModule () const
 
virtual bool IsRigModule () const
 
bool IsLoaded ()
 
bool IsTurretModule ()
 
bool IsLauncherModule ()
 
bool IsOverloaded ()
 
bool IsLinked ()
 
bool IsMaster ()
 
bool IsDamaged ()
 
bool IsActive ()
 
bool IsLoading ()
 
bool isOnline ()
 
bool isLowPower ()
 
bool isHighPower ()
 
bool isMediumPower ()
 
bool isRig ()
 
bool isSubSystem ()
 
uint32 itemID ()
 
uint32 typeID ()
 
uint32 groupID ()
 
EVEItemFlags flag ()
 
void SetChargeRef (InventoryItemRef iRef)
 
void SetModuleState (int8 state)
 
void SetChargeState (int8 state)
 
void SetLinked (bool set=false)
 
void SetLinkMaster (bool set=false)
 
int8 GetModuleState ()
 
int8 GetChargeState ()
 
InventoryItemRef GetLoadedChargeRef ()
 
virtual void Process ()
 
virtual void Deactivate (std::string effect="")
 
virtual void AbortCycle ()
 
virtual void LoadCharge (InventoryItemRef charge)
 
virtual void UnloadCharge ()
 
virtual void ReloadCharge ()
 
virtual void RemoveRig ()
 
virtual void DestroyRig ()
 
virtual void ReprocessCharge ()
 
virtual void Activate (uint16 effectID, uint32 targetID=0, int16 repeat=0)
 
virtual void RemoveTarget (SystemEntity *pSE)
 
virtual bool IsSuccess ()
 
virtual void Update ()
 
virtual uint16 GetReloadTime ()
 
virtual uint32 GetTargetID ()
 
 GenericModule (ModuleItemRef mRef, ShipItemRef sRef)
 
virtual ~GenericModule ()
 
void Online ()
 
void Offline ()
 
void ProcessEffects (int8 state, bool active=false)
 
void Repair (EvilNumber amount)
 
virtual void Overload ()
 
virtual void DeOverload ()
 
int8 GetModulePowerLevel ()
 

Additional Inherited Members

- Protected Member Functions inherited from GenericModule
const char * GetModuleStateName (int8 state)
 
- Protected Attributes inherited from GenericModule
ModuleItemRef m_modRef
 
ShipItemRef m_shipRef
 
InventoryItemRef m_chargeRef
 
int8 m_ModuleState
 
int8 m_ChargeState
 
int16 m_repeat
 
bool m_linkMaster:1
 
bool m_linked:1
 
bool m_isWarpSafe:1
 
bool m_hiPower:1
 
bool m_medPower:1
 
bool m_loPower:1
 
bool m_rigSlot:1
 
bool m_subSystem:1
 
bool m_launcher:1
 
bool m_turret:1
 
bool m_overLoaded:1
 
bool m_chargeLoaded:1
 

Detailed Description

Definition at line 14 of file SubSystemModule.h.

Constructor & Destructor Documentation

SubSystemModule::SubSystemModule ( ModuleItemRef  mRef,
ShipItemRef  sRef 
)

Definition at line 12 of file SubSystemModule.cpp.

13 : PassiveModule(mRef, sRef)
14 {
15 
16 }
PassiveModule(ModuleItemRef mRef, ShipItemRef sRef)
virtual SubSystemModule::~SubSystemModule ( )
inlinevirtual

Definition at line 19 of file SubSystemModule.h.

19 { /* do nothing here */ }

Member Function Documentation

int8 SubSystemModule::GetModulePowerLevel ( )

Definition at line 18 of file SubSystemModule.cpp.

References Module::Bank::Subsystem.

virtual SubSystemModule* SubSystemModule::GetSubSystemModule ( )
inlinevirtual

Reimplemented from GenericModule.

Definition at line 21 of file SubSystemModule.h.

21 { return this; }
virtual bool SubSystemModule::IsSubSystemModule ( ) const
inlinevirtual

Reimplemented from GenericModule.

Definition at line 23 of file SubSystemModule.h.

23 { return true; }

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