EvEmu
0.8.4
11 September 2021
|
#include "Prospector.h"
Protected Attributes | |
bool | m_success:1 |
bool | m_firstRun:1 |
bool | m_salvager:1 |
bool | m_dataMiner:1 |
int8 | m_accessChance |
![]() | |
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 |
![]() | |
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 |
Private Attributes | |
Character * | pChar |
EVEItemFlags | m_holdFlag |
Prospector.cpp | |
prospector module class (salvage, hacking, data mining) : Allan
| |
Prospector (ModuleItemRef mRef, ShipItemRef sRef) | |
virtual void | Update () |
virtual void | Activate (uint16 effectID, uint32 targetID=0, int16 repeat=0) |
uint32 | DoCycle () |
virtual bool | CanActivate () |
void | SendFailure () |
void | CheckSuccess () |
void | DropSalvage () |
void | DropItems () |
Additional Inherited Members | |
![]() | |
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) |
![]() | |
const char * | GetModuleStateName (int8 state) |
Definition at line 15 of file Prospector.h.
Prospector::Prospector | ( | ModuleItemRef | mRef, |
ShipItemRef | sRef | ||
) |
Definition at line 18 of file Prospector.cpp.
References AttrDuration, AttrSalvageHoldCapacity, EVEDB::invGroups::Data_Miner, flagCargoHold, flagSalvageHold, RefPtr< X >::get(), EvilNumber::get_float(), GenericModule::GetAttribute(), Client::GetChar(), ShipItem::GetPilot(), Character::GetSkillLevel(), InventoryItem::groupID(), InventoryItem::HasAttribute(), ShipItem::HasPilot(), m_accessChance, m_dataMiner, m_firstRun, m_holdFlag, GenericModule::m_modRef, m_salvager, GenericModule::m_shipRef, m_success, pChar, EVEDB::invGroups::Salvager, GenericModule::SetAttribute(), and EvESkill::Survey.
|
inlinevirtual |
Definition at line 19 of file Prospector.h.
Reimplemented from ActiveModule.
Definition at line 64 of file Prospector.cpp.
References ActiveModule::Activate(), AttrAccessDifficulty, ActiveModule::Deactivate(), EvilNumber::get_int(), InventoryItem::GetAttribute(), SystemEntity::GetSelf(), m_accessChance, m_firstRun, ActiveModule::m_needsTarget, m_success, and ActiveModule::m_targetSE.
|
virtual |
Reimplemented from ActiveModule.
Definition at line 81 of file Prospector.cpp.
References ActiveModule::CanActivate(), SystemEntity::IsContainerSE(), SystemEntity::IsWreckSE(), m_dataMiner, m_salvager, and ActiveModule::m_targetSE.
|
protected |
Definition at line 148 of file Prospector.cpp.
References _log, AttrAccessDifficultyBonus, EvilNumber::get_int(), GenericModule::GetAttribute(), m_accessChance, m_success, and MakeRandomInt().
Referenced by DoCycle().
|
virtual |
Reimplemented from ActiveModule.
Definition at line 93 of file Prospector.cpp.
References _log, ActiveModule::AbortCycle(), CheckSuccess(), ActiveModule::DoCycle(), DropSalvage(), m_firstRun, m_success, and SendFailure().
|
protected |
Definition at line 243 of file Prospector.cpp.
|
protected |
Definition at line 160 of file Prospector.cpp.
References _log, SystemManager::AddEntity(), FactionData::allianceID, FactionData::corporationID, InventoryItem::customInfo(), SystemEntity::DestinyMgr(), FactionData::factionID, flagNone, RefPtr< X >::get(), SystemEntity::GetAllianceID(), SystemEntity::GetCorporationID(), Inventory::GetInventoryMap(), InventoryItem::GetMyInventory(), ShipItem::GetPilot(), SystemEntity::GetPosition(), SystemEntity::GetSelf(), SystemEntity::GetServices(), SystemEntity::GetWarFactionID(), SystemEntity::GetWreckSE(), Inventory::IsEmpty(), IsEven(), InventoryItem::itemID(), locTemp, m_accessChance, m_holdFlag, GenericModule::m_shipRef, ActiveModule::m_sysMgr, ActiveModule::m_targetSE, MakeRandomInt(), InventoryItem::name(), InventoryItem::ownerID(), FactionData::ownerID, pChar, WreckSE::Salvaged(), sConfig, sDataMgr, DestinyManager::SendJettisonPacket(), Client::SendNotifyMsg(), Stat::shipsSalvaged, sItemFactory, and sStatMgr.
Referenced by DoCycle().
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
|
protected |
Definition at line 129 of file Prospector.cpp.
References ShipItem::GetPilot(), SystemEntity::GetTypeID(), m_dataMiner, m_salvager, GenericModule::m_shipRef, ActiveModule::m_targetSE, Client::QueueDestinyEvent(), PyTuple::SetItem(), and PyDict::SetItemString().
Referenced by DoCycle().
|
inline |
Definition at line 36 of file Prospector.h.
References m_success.
Referenced by ActiveModule::Deactivate(), and TargetManager::Destroyed().
|
virtual |
Reimplemented from ActiveModule.
Definition at line 49 of file Prospector.cpp.
References AttrDuration, RefPtr< X >::get(), EvilNumber::get_float(), GenericModule::GetAttribute(), Client::GetChar(), ShipItem::GetPilot(), Character::GetSkillLevel(), ShipItem::HasPilot(), GenericModule::m_shipRef, pChar, GenericModule::SetAttribute(), EvESkill::Survey, and ActiveModule::Update().
|
protected |
Definition at line 49 of file Prospector.h.
Referenced by Activate(), CheckSuccess(), DropSalvage(), and Prospector().
|
protected |
Definition at line 47 of file Prospector.h.
Referenced by CanActivate(), Prospector(), and SendFailure().
|
protected |
Definition at line 45 of file Prospector.h.
Referenced by Activate(), DoCycle(), and Prospector().
|
private |
Definition at line 54 of file Prospector.h.
Referenced by DropSalvage(), and Prospector().
|
protected |
Definition at line 46 of file Prospector.h.
Referenced by CanActivate(), Prospector(), and SendFailure().
|
protected |
Definition at line 44 of file Prospector.h.
Referenced by Activate(), CheckSuccess(), DoCycle(), IsSuccess(), Prospector(), and TargetDestroyed().
|
private |
Definition at line 52 of file Prospector.h.
Referenced by DropSalvage(), Prospector(), and Update().