EvEmu
0.8.4
11 September 2021
|
#include "CynoModule.h"
Private Attributes | |
Client * | pClient |
ShipSE * | pShipSE |
SystemEntity * | cSE |
bool | m_firstRun |
float | m_shipVelocity |
EVEItemFlags | m_holdFlag |
CynoModule.cpp | |
Cynosural field generator module class : James
| |
CynoModule (ModuleItemRef mRef, ShipItemRef sRef) | |
virtual void | Activate (uint16 effectID, uint32 targetID=0, int16 repeat=0) |
virtual void | DeactivateCycle (bool abort=false) |
virtual uint32 | DoCycle () |
virtual bool | CanActivate () |
void | SendOnJumpBeaconChange (bool status=false) |
void | CreateCyno () |
Definition at line 16 of file CynoModule.h.
CynoModule::CynoModule | ( | ModuleItemRef | mRef, |
ShipItemRef | sRef | ||
) |
Definition at line 14 of file CynoModule.cpp.
References AttrDuration, EvilNumber::get_float(), GenericModule::GetAttribute(), Client::GetChar(), ShipItem::GetPilot(), Character::GetSkillLevel(), ShipItem::HasPilot(), GenericModule::m_shipRef, pClient, GenericModule::SetAttribute(), and EvESkill::Survey.
|
inlinevirtual |
Definition at line 20 of file CynoModule.h.
Reimplemented from ActiveModule.
Definition at line 33 of file CynoModule.cpp.
References _log, ActiveModule::Activate(), SystemEntity::DestinyMgr(), DestinyManager::GetMaxVelocity(), SystemManager::GetName(), Client::GetName(), Client::GetShipSE(), m_firstRun, m_shipVelocity, ActiveModule::m_Stop, ActiveModule::m_sysMgr, pClient, pShipSE, and DestinyManager::SetFrozen().
|
virtual |
Reimplemented from ActiveModule.
Definition at line 64 of file CynoModule.cpp.
References ActiveModule::CanActivate(), Ga::GaVec3::distance(), Client::GetLocationID(), SystemEntity::GetPosition(), SystemManager::GetSecValue(), TowerSE::GetSOI(), SystemBubble::GetTowerSE(), TowerSE::HasForceField(), SystemBubble::HasTower(), Client::InFleet(), SovereigntyData::jammerID, pClient, pShipSE, sConfig, Client::SendNotifyMsg(), svDataMgr, SystemEntity::SysBubble(), and Client::SystemMgr().
|
private |
Definition at line 113 of file CynoModule.cpp.
References _log, SystemManager::AddEntity(), cSE, EVEDB::invTypes::CynosuralFieldI, flagNone, Client::GetCharacterID(), SystemManager::GetID(), SystemEntity::GetPosition(), ActiveModule::m_sysMgr, GPoint::MakeRandomPointOnSphere(), pClient, pShipSE, SendOnJumpBeaconChange(), Client::services(), SystemEntity::SetPosition(), and sItemFactory.
Referenced by DoCycle().
|
virtual |
Reimplemented from ActiveModule.
Definition at line 51 of file CynoModule.cpp.
References AttrMaxVelocity, cSE, ActiveModule::DeactivateCycle(), SystemEntity::Delete(), SystemEntity::DestinyMgr(), SystemEntity::GetSelf(), m_shipVelocity, pShipSE, SafeDelete(), SendOnJumpBeaconChange(), InventoryItem::SetAttribute(), and DestinyManager::SetFrozen().
|
virtual |
Reimplemented from ActiveModule.
Definition at line 100 of file CynoModule.cpp.
References CreateCyno(), ActiveModule::DoCycle(), and m_firstRun.
|
inlinevirtual |
|
inlinevirtual |
|
private |
Definition at line 135 of file CynoModule.cpp.
References _log, cSE, Client::GetCharacterID(), Client::GetFleetID(), SystemManager::GetID(), SystemEntity::GetID(), ActiveModule::m_sysMgr, pClient, PyTuple::SetItem(), and sFltSvc.
Referenced by CreateCyno(), and DeactivateCycle().
|
private |
Definition at line 36 of file CynoModule.h.
Referenced by CreateCyno(), DeactivateCycle(), and SendOnJumpBeaconChange().
|
private |
Definition at line 38 of file CynoModule.h.
Referenced by Activate(), and DoCycle().
|
private |
Definition at line 42 of file CynoModule.h.
|
private |
Definition at line 40 of file CynoModule.h.
Referenced by Activate(), and DeactivateCycle().
|
private |
Definition at line 34 of file CynoModule.h.
Referenced by Activate(), CanActivate(), CreateCyno(), CynoModule(), and SendOnJumpBeaconChange().
|
private |
Definition at line 35 of file CynoModule.h.
Referenced by Activate(), CanActivate(), CreateCyno(), and DeactivateCycle().