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


Public Member Functions | |
| virtual | ~TurretModule () |
| virtual TurretModule * | GetTurretModule () |
| virtual bool | IsTurretModule () |
TurretModule.cpp | |
turret module class : Allan
| |
| TurretModule (ModuleItemRef mRef, ShipItemRef sRef) | |
| virtual void | LoadCharge (InventoryItemRef charge) |
| virtual void | UnloadCharge () |
| virtual void | ApplyDamage () |
Public Member Functions inherited from ActiveModule | |
| virtual | ~ActiveModule () |
| virtual ActiveModule * | GetActiveModule () |
| virtual bool | IsActiveModule () const |
| virtual uint16 | GetReloadTime () |
| virtual uint32 | GetTargetID () |
| SystemEntity * | GetTargetSE () |
| ActiveModule (ModuleItemRef mRef, ShipItemRef sRef) | |
| virtual void | Process () |
| virtual void | Overload () |
| virtual void | AbortCycle () |
| virtual void | DeOverload () |
| virtual void | Deactivate (std::string effect="") |
| virtual void | DeactivateCycle (bool abort=false) |
| virtual void | Activate (uint16 effectID, uint32 targetID=0, int16 repeat=0) |
| virtual void | RemoveTarget (SystemEntity *pSE) |
| virtual uint32 | DoCycle () |
| virtual void | Update () |
| virtual bool | CanActivate () |
| virtual void | ReprocessCharge () |
| void | LaunchProbe () |
| void | LaunchMissile () |
| void | LaunchSnowBall () |
| void | ApplyEffect (int8 state, bool active=false) |
| void | ShowEffect (bool active=false, bool abort=false) |
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 PassiveModule * | GetPassiveModule () |
| virtual MiningLaser * | GetMiningModule () |
| virtual Prospector * | GetProspectModule () |
| virtual SuperWeapon * | GetSuperWeapon () |
| virtual RigModule * | GetRigModule () |
| virtual SubSystemModule * | GetSubSystemModule () |
| virtual CynoModule * | GetCynoModule () |
| virtual bool | IsGenericModule () const |
| virtual bool | IsPassiveModule () const |
| virtual bool | IsMiningLaser () const |
| virtual bool | IsProspectModule () const |
| virtual bool | IsCynoModule () const |
| virtual bool | IsRigModule () const |
| virtual bool | IsSubSystemModule () 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 | ReloadCharge () |
| virtual void | RemoveRig () |
| virtual void | DestroyRig () |
| virtual bool | IsSuccess () |
| GenericModule (ModuleItemRef mRef, ShipItemRef sRef) | |
| virtual | ~GenericModule () |
| void | Online () |
| void | Offline () |
| void | ProcessEffects (int8 state, bool active=false) |
| void | Repair (EvilNumber amount) |
| int8 | GetModulePowerLevel () |
Protected Attributes | |
| TurretFormulas | m_formula |
| float | m_crystalDmg |
| float | m_crystalDmgAmount |
| float | m_crystalDmgChance |
Protected Attributes inherited from ActiveModule | |
| SystemBubble * | m_bubble |
| SystemEntity * | m_targetSE |
| DestinyManager * | m_destinyMgr |
| SystemManager * | m_sysMgr |
| TargetManager * | m_targMgr |
| uint16 | m_reloadTime |
| uint16 | m_effectID |
| uint32 | m_targetID |
| bool | m_Stop:1 |
| bool | m_usesCharge:1 |
| bool | m_needsCharge:1 |
| bool | m_needsTarget:1 |
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 |
Additional Inherited Members | |
Protected Member Functions inherited from ActiveModule | |
| uint32 | GetRemainingCycleTimeMS () |
| void | StopTimer () |
| void | Clear () |
| void | ProcessActiveCycle () |
| void | UpdateCharge (uint16 attrID, uint16 testAttrID, uint16 srcAttrID, InventoryItemRef iRef) |
| void | UpdateDamage (uint16 attrID, uint16 srcAttrID, InventoryItemRef iRef) |
| void | SetSlaveData (ShipSE *pShip) |
| void | ConsumeCharge () |
| void | SetTimer (uint32 time) |
Protected Member Functions inherited from GenericModule | |
| const char * | GetModuleStateName (int8 state) |
Definition at line 17 of file TurretModule.h.
| TurretModule::TurretModule | ( | ModuleItemRef | mRef, |
| ShipItemRef | sRef | ||
| ) |
Definition at line 17 of file TurretModule.cpp.
References GenericModule::m_chargeRef, and ActiveModule::m_needsCharge.
|
inlinevirtual |
Definition at line 21 of file TurretModule.h.
|
virtual |
Reimplemented from ActiveModule.
Definition at line 55 of file TurretModule.cpp.
References _log, SystemEntity::ApplyDamage(), AttrCrystalsGetDamaged, AttrDamage, AttrDamageMultiplier, AttrEmDamage, AttrExplosiveDamage, AttrKineticDamage, AttrThermalDamage, ActiveModule::ConsumeCharge(), ActiveModule::Deactivate(), InventoryItem::Delete(), EVEDB::invGroups::Energy_Weapon, InventoryItem::flag(), RefPtr< X >::get(), EvilNumber::get_float(), GenericModule::GetAttribute(), InventoryItem::GetAttribute(), ShipItem::GetLoadedLinkedCount(), ShipItem::GetPilot(), Client::GetShipSE(), TurretFormulas::GetToHit(), InventoryItem::groupID(), InventoryItem::HasAttribute(), EVEDB::invGroups::Hybrid_Weapon, InventoryItem::itemID(), GenericModule::m_chargeRef, m_crystalDmg, m_crystalDmgAmount, m_crystalDmgChance, ActiveModule::m_effectID, m_formula, GenericModule::m_linkMaster, GenericModule::m_modRef, GenericModule::m_shipRef, ActiveModule::m_targetSE, MakeRandomFloat(), InventoryItem::name(), Stat::pcShots, EVEDB::invGroups::Projectile_Weapon, ShipItem::RemoveItem(), sConfig, sDataMgr, Client::SendErrorMsg(), Client::SendNotifyMsg(), InventoryItem::SetAttribute(), and sStatMgr.

|
inlinevirtual |
|
inlinevirtual |
Definition at line 25 of file TurretModule.h.
|
virtual |
Reimplemented from ActiveModule.
Definition at line 30 of file TurretModule.cpp.
References _log, AttrCrystalVolatilityChance, AttrCrystalVolatilityDamage, AttrDamage, RefPtr< X >::get(), EvilNumber::get_float(), InventoryItem::GetAttribute(), ActiveModule::LoadCharge(), GenericModule::m_chargeRef, m_crystalDmg, m_crystalDmgAmount, m_crystalDmgChance, GenericModule::m_modRef, and InventoryItem::name().

|
virtual |
Reimplemented from ActiveModule.
Definition at line 44 of file TurretModule.cpp.
References _log, m_crystalDmg, m_crystalDmgAmount, m_crystalDmgChance, GenericModule::m_modRef, InventoryItem::name(), and ActiveModule::UnloadCharge().

|
protected |
Definition at line 37 of file TurretModule.h.
Referenced by ApplyDamage(), LoadCharge(), and UnloadCharge().
|
protected |
Definition at line 38 of file TurretModule.h.
Referenced by ApplyDamage(), LoadCharge(), and UnloadCharge().
|
protected |
Definition at line 39 of file TurretModule.h.
Referenced by ApplyDamage(), LoadCharge(), and UnloadCharge().
|
protected |
Definition at line 35 of file TurretModule.h.
Referenced by ApplyDamage().