EvEmu
0.8.4
11 September 2021
|
#include "Structure.h"
Protected Attributes | |
PosMgrDB | m_db |
MoonSE * | m_moonSE |
PlanetSE * | m_planetSE |
TowerSE * | m_towerSE |
TCUSE * | m_tcuSE |
SBUSE * | m_sbuSE |
IHubSE * | m_ihubSE |
JumpBridgeSE * | m_bridgeSE |
StargateSE * | m_gateSE |
EVEPOS::StructureData | m_data |
int8 | m_procState |
uint32 | m_delayTime |
GVector | m_rotation |
uint32 | m_anchorPointID |
![]() | |
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 |
Private Attributes | |
uint32 | m_duration |
Timer | m_procTimer |
bool | m_tcu:1 |
bool | m_sbu:1 |
bool | m_ihub:1 |
bool | m_tower:1 |
bool | m_miner:1 |
bool | m_bridge:1 |
bool | m_jammer:1 |
bool | m_generator:1 |
bool | m_loaded:1 |
bool | m_module:1 |
bool | m_reactor:1 |
bool | m_outpost:1 |
Structure.cpp | |
Generic Base Class for POS items and entities. : Allan
| |
StructureSE (StructureItemRef structure, PyServiceMgr &services, SystemManager *system, const FactionData &data) | |
virtual void | Process () |
virtual void | EncodeDestiny (Buffer &into) |
virtual PyDict * | MakeSlimItem () |
virtual void | Killed (Damage &fatal_blow) |
virtual void | Init () |
virtual void | InitData () |
virtual void | Scoop () |
virtual void | SetOnline () |
virtual void | SetOffline () |
virtual void | SetInvulnerable () |
virtual void | SetVulnerable () |
virtual void | Online () |
virtual void | SetOperating () |
virtual void | Operating () |
void | Drop (SystemBubble *pBubble) |
void | Anchor () |
void | Offline () |
void | PullAnchor () |
void | SetAnchor (Client *pClient, GPoint &pos) |
void | Activate (int32 effectID) |
void | Deactivate (int32 effectID) |
void | GetEffectState (PyList &into) |
void | SetUsageFlags (int8 view=0, int8 take=0, int8 use=0) |
void | SendSlimUpdate () |
void | SendEffectUpdate (int16 effectID, bool active) |
Definition at line 98 of file Structure.h.
StructureSE::StructureSE | ( | StructureItemRef | structure, |
PyServiceMgr & | services, | ||
SystemManager * | system, | ||
const FactionData & | data | ||
) |
Definition at line 193 of file Structure.cpp.
References _log, FactionData::allianceID, FactionData::corporationID, Timer::Disable(), FactionData::factionID, SystemEntity::m_allyID, SystemEntity::m_corpID, m_data, SystemEntity::m_ownerID, m_procTimer, SystemEntity::m_warID, FactionData::ownerID, EVEPOS::StructureData::state, and EVEPOS::EntityState::Unanchored.
|
inlinevirtual |
Definition at line 103 of file Structure.h.
void StructureSE::Activate | ( | int32 | effectID | ) |
Definition at line 775 of file Structure.cpp.
References _log, UserError::AddAmount(), UserError::AddFormatValue(), EVEPOS::StructureState::Anchored, AttrCpu, AttrCpuOutput, AttrOnliningDelay, AttrPower, AttrPowerOutput, EvilNumber::get_float(), EvilNumber::get_uint32(), InventoryItem::GetAttribute(), TowerSE::GetCPULoad(), GetFileTimeNow(), TowerSE::GetPGLoad(), SystemEntity::GetSelf(), TowerSE::HasCPU(), TowerSE::HasPG(), EVEPOS::StructureData::itemID, m_data, m_db, m_delayTime, SystemEntity::m_destiny, m_ihub, m_module, m_procState, m_procTimer, m_sbu, SystemEntity::m_self, m_tcu, m_tower, m_towerSE, InventoryItem::name(), TowerSE::OnlineModule(), EVEPOS::ProcState::Onlining, EVEPOS::StructureState::Onlining, SendSlimUpdate(), DestinyManager::SendSpecialEffect(), Timer::SetTimer(), EVEPOS::StructureData::state, EVEPOS::StructureData::timestamp, EVEPOS::StructureData::towerID, InventoryItem::typeID(), and PosMgrDB::UpdateBaseData().
void StructureSE::Anchor | ( | ) |
Definition at line 1378 of file Structure.cpp.
|
inline |
|
inline |
|
inline |
void StructureSE::Deactivate | ( | int32 | effectID | ) |
Definition at line 856 of file Structure.cpp.
References GetFileTimeNow(), m_data, m_db, m_delayTime, m_procState, m_procTimer, EVEPOS::ProcState::Offlining, SendSlimUpdate(), Timer::SetTimer(), EVEPOS::StructureData::timestamp, and PosMgrDB::UpdateBaseData().
void StructureSE::Drop | ( | SystemBubble * | pBubble | ) |
Definition at line 561 of file Structure.cpp.
References Init(), and SystemEntity::m_bubble.
|
virtual |
Reimplemented from DynamicSystemEntity.
Definition at line 1017 of file Structure.cpp.
References _log, Destiny::MassSector::allianceID, EVEPOS::StructureState::Anchored, Buffer::Append(), Destiny::MassSector::cloak, Destiny::MassSector::corporationID, Destiny::BallHeader::entityID, Destiny::BallHeader::flags, Destiny::STOP_Struct::formationID, Destiny::RIGID_Struct::formationID, SystemEntity::GetName(), SystemEntity::GetRadius(), Destiny::MassSector::harmonic, Destiny::DataSector::inertia, IsAlliance, Destiny::Ball::Flag::IsFree, Destiny::Ball::Flag::IsGlobal, EVEPOS::StructureData::itemID, SystemEntity::m_allyID, SystemEntity::m_corpID, m_data, SystemEntity::m_harmonic, m_ihub, m_sbu, SystemEntity::m_self, m_tcu, m_tower, main(), ItemType::mass(), Destiny::MassSector::mass, Destiny::DataSector::maxSpeed, Destiny::BallHeader::mode, Destiny::BallHeader::posX, Destiny::BallHeader::posY, Destiny::BallHeader::posZ, Destiny::BallHeader::radius, Destiny::Ball::Mode::RIGID, Destiny::DataSector::speedfraction, EVEPOS::StructureData::state, Destiny::Ball::Mode::STOP, InventoryItem::type(), Destiny::DataSector::velX, Destiny::DataSector::velY, Destiny::DataSector::velZ, SystemEntity::x(), SystemEntity::y(), and SystemEntity::z().
|
inlinevirtual |
Reimplemented from SystemEntity.
Reimplemented in ArraySE.
Definition at line 109 of file Structure.h.
|
inlinevirtual |
Reimplemented from SystemEntity.
Reimplemented in BatterySE.
Definition at line 110 of file Structure.h.
void StructureSE::GetEffectState | ( | PyList & | into | ) |
Definition at line 1182 of file Structure.cpp.
References PyList::AddItem(), EVEPOS::StructureData::itemID, m_data, m_module, SystemEntity::m_self, EVEPOS::StructureState::Online, EVEPOS::StructureState::Operating, EVEPOS::StructureData::state, EVEPOS::StructureData::timestamp, EVEPOS::StructureData::towerID, and InventoryItem::typeID().
|
inlinevirtual |
|
inlinevirtual |
Reimplemented from SystemEntity.
Reimplemented in IHubSE.
Definition at line 115 of file Structure.h.
|
inlinevirtual |
Reimplemented from SystemEntity.
Reimplemented in JumpBridgeSE.
Definition at line 116 of file Structure.h.
|
inlinevirtual |
|
inlinevirtual |
|
inline |
|
inlinevirtual |
|
inlinevirtual |
|
inline |
|
inlinevirtual |
Reimplemented from SystemEntity.
Reimplemented in ReactorSE.
Definition at line 112 of file Structure.h.
|
inlinevirtual |
Reimplemented from SystemEntity.
Reimplemented in SBUSE.
Definition at line 114 of file Structure.h.
|
inline |
Definition at line 170 of file Structure.h.
References m_data, and EVEPOS::StructureData::state.
Referenced by StructureItem::Rename(), and TargetManager::StartTargeting().
|
inline |
|
inlinevirtual |
Reimplemented from SystemEntity.
Reimplemented in TCUSE.
Definition at line 113 of file Structure.h.
|
inlinevirtual |
Reimplemented from SystemEntity.
Reimplemented in TowerSE.
Definition at line 108 of file Structure.h.
|
inlinevirtual |
Reimplemented from SystemEntity.
Reimplemented in WeaponSE.
Definition at line 111 of file Structure.h.
|
virtual |
Reimplemented in ReactorSE, JumpBridgeSE, TCUSE, TowerSE, ModuleSE, IHubSE, SBUSE, ArraySE, BatterySE, and WeaponSE.
Definition at line 275 of file Structure.cpp.
References _log, TowerSE::AddModule(), EVEPOS::StructureState::Anchored, EVEPOS::StructureData::anchorpointID, AttrPosControlTowerPeriod, EVEDB::invGroups::Control_Tower, EVEDB::invGroups::Cynosural_Generator_Array, EVEDB::invGroups::Cynosural_System_Jammer, flagStructureActive, flagStructureInactive, EvilNumber::get_uint32(), InventoryItem::GetAttribute(), PosMgrDB::GetBaseData(), SystemEntity::GetGateSE(), SystemEntity::GetIHubSE(), SystemEntity::GetJumpBridgeSE(), SystemEntity::GetMoonSE(), SystemEntity::GetPosition(), SystemEntity::GetSBUSE(), SystemManager::GetSE(), SystemEntity::GetTCUSE(), SystemEntity::GetTowerSE(), InventoryItem::groupID(), EVEDB::invGroups::Infrastructure_Hubs, InitData(), IsStaticMapItem, EVEPOS::StructureData::itemID, InventoryItem::itemID(), EVEDB::invGroups::Jump_Portal_Array, m_bridge, m_bridgeSE, m_data, m_db, m_duration, m_gateSE, m_generator, m_ihub, m_ihubSE, m_jammer, m_loaded, m_miner, m_module, m_moonSE, m_reactor, m_rotation, m_sbu, m_sbuSE, SystemEntity::m_self, SystemEntity::m_system, m_tcu, m_tcuSE, m_tower, m_towerSE, EVEDB::invGroups::Mobile_Reactor, EVEDB::invGroups::Moon_Mining, InventoryItem::name(), Ga::GaVec3::normalize(), EVEDB::invGroups::Orbital_Infrastructure, InventoryItem::position(), SystemManager::RemoveEntity(), PosMgrDB::SaveBaseData(), InventoryItem::SetFlag(), EVEDB::invGroups::Silo, sLog, EVEDB::invGroups::Sovereignty_Blockade_Units, EVEPOS::StructureData::state, EVEDB::invGroups::Territorial_Claim_Units, EVEPOS::StructureData::timestamp, EVEPOS::StructureData::towerID, EvE::traceStack(), and EVEPOS::StructureState::Unanchored.
Referenced by Drop(), ArraySE::Init(), BatterySE::Init(), WeaponSE::Init(), ModuleSE::Init(), SBUSE::Init(), IHubSE::Init(), TCUSE::Init(), TowerSE::Init(), JumpBridgeSE::Init(), and ReactorSE::Init().
|
virtual |
Reimplemented in ReactorSE, and TowerSE.
Definition at line 240 of file Structure.cpp.
References EVEPOS::JumpBridgeData::allowAlliance, EVEPOS::JumpBridgeData::allowCorp, EVEPOS::JumpBridgeData::allyID, EVEPOS::StructureData::anchorpointID, EVEPOS::JumpBridgeData::corpID, SystemManager::GetClosestGateSE(), SystemManager::GetClosestMoonSE(), SystemEntity::GetGateSE(), SystemManager::GetID(), SystemEntity::GetID(), SystemEntity::GetMoonSE(), SystemEntity::GetPosition(), SystemBubble::GetTowerSE(), SystemBubble::HasTower(), EVEPOS::StructureData::itemID, EVEPOS::JumpBridgeData::itemID, SystemEntity::m_allyID, m_bridge, SystemEntity::m_bubble, SystemEntity::m_corpID, m_data, m_db, m_gateSE, m_module, m_moonSE, m_sbu, SystemEntity::m_system, PosMgrDB::SaveBridgeData(), EVEPOS::JumpBridgeData::systemID, EVEPOS::StructureData::towerID, and EVEPOS::JumpBridgeData::towerID.
Referenced by Init(), and TowerSE::InitData().
|
inlinevirtual |
Reimplemented from SystemEntity.
Reimplemented in ArraySE.
Definition at line 129 of file Structure.h.
|
inlinevirtual |
Reimplemented from SystemEntity.
Reimplemented in BatterySE.
Definition at line 130 of file Structure.h.
|
inlinevirtual |
|
inlinevirtual |
Reimplemented from SystemEntity.
Reimplemented in IHubSE.
Definition at line 122 of file Structure.h.
|
inlinevirtual |
|
inlinevirtual |
Reimplemented from SystemEntity.
Reimplemented in JumpBridgeSE.
Definition at line 127 of file Structure.h.
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
Reimplemented from SystemEntity.
Reimplemented in ReactorSE.
Definition at line 132 of file Structure.h.
|
inline |
Definition at line 194 of file Structure.h.
References m_data, EVEPOS::StructureState::Reinforced, and EVEPOS::StructureData::state.
|
inlinevirtual |
Reimplemented from SystemEntity.
Reimplemented in SBUSE.
Definition at line 121 of file Structure.h.
|
inlinevirtual |
Reimplemented from SystemEntity.
Reimplemented in TCUSE.
Definition at line 120 of file Structure.h.
|
inlinevirtual |
Reimplemented from SystemEntity.
Reimplemented in TowerSE.
Definition at line 128 of file Structure.h.
|
inlinevirtual |
Reimplemented from SystemEntity.
Reimplemented in WeaponSE.
Definition at line 131 of file Structure.h.
|
virtual |
Reimplemented from SystemEntity.
Definition at line 1208 of file Structure.cpp.
References _log, MapDB::AddFactionKill(), MapDB::AddKill(), DBSystemDynamicEntity::allianceID, AttrArmorHP, AttrHP, AttrShieldCapacity, SystemEntity::AwardSecurityStatus(), EVEDB::invCategories::Blueprint, SystemManager::BuildDynamicEntity(), DBSystemDynamicEntity::categoryID, EVEDB::invCategories::Celestial, DBSystemDynamicEntity::corporationID, SystemEntity::DropLoot(), DBSystemDynamicEntity::factionID, CharKillData::finalAllianceID, CharKillData::finalCharacterID, CharKillData::finalCorporationID, CharKillData::finalDamageDone, CharKillData::finalFactionID, CharKillData::finalSecurityStatus, CharKillData::finalShipTypeID, CharKillData::finalWeaponTypeID, flagNone, RefPtr< X >::get(), EvilNumber::get_uint32(), SystemEntity::GetAllianceID(), InventoryItem::GetAttribute(), Client::GetChar(), Client::GetCharacterID(), SystemEntity::GetCorporationID(), GetFileTimeNow(), SystemManager::GetID(), SystemEntity::GetID(), Inventory::GetInventoryMap(), SystemEntity::GetLocationID(), InventoryItem::GetMyInventory(), SystemEntity::GetName(), SystemEntity::GetPilot(), DestinyManager::GetPosition(), SystemEntity::GetSelf(), SystemManager::GetSystemSecurityRating(), Damage::GetTotal(), SystemEntity::GetTypeID(), SystemEntity::GetWarFactionID(), InventoryItem::groupID(), DBSystemDynamicEntity::groupID, SystemEntity::HasPilot(), is_log_enabled, SystemEntity::IsDroneSE(), IsEven(), Ga::GaVec3::isNaN(), IsWreckTypeID, InventoryItem::itemID(), DBSystemDynamicEntity::itemID, InventoryItem::itemName(), DBSystemDynamicEntity::itemName, itoa(), CharKillData::killBlob, CharKillData::killTime, SystemEntity::m_allyID, SystemEntity::m_bubble, SystemEntity::m_corpID, SystemEntity::m_destiny, m_moonSE, SystemEntity::m_self, SystemEntity::m_system, m_tower, SystemEntity::m_warID, MakeRandomInt(), CharKillData::moonID, InventoryItem::name(), InventoryItem::ownerID(), DBSystemDynamicEntity::ownerID, DBSystemDynamicEntity::position, ServiceDB::SaveKillOrLoss(), sDataMgr, DestinyManager::SendJettisonPacket(), sEntityList, SystemBubble::SetTowerSE(), sItemFactory, sLog, CharKillData::solarSystemID, Damage::srcSE, RefPtr< X >::StaticCast(), InventoryItem::typeID(), DBSystemDynamicEntity::typeID, CharKillData::victimAllianceID, CharKillData::victimCharacterID, CharKillData::victimCorporationID, CharKillData::victimDamageTaken, CharKillData::victimFactionID, CharKillData::victimShipTypeID, Damage::weaponRef, EVEDB::invGroups::Wreck, Ga::GaVec3::x, SystemEntity::x(), Ga::GaVec3::y, SystemEntity::y(), Ga::GaVec3::z, and SystemEntity::z().
|
virtual |
Reimplemented from DynamicSystemEntity.
Reimplemented in TowerSE.
Definition at line 1112 of file Structure.cpp.
References _log, PyRep::Dump(), SystemEntity::GetName(), EVEPOS::StructureState::Incapacitated, is_log_enabled, IsAlliance, IsCorp, IsFaction, EVEPOS::StructureData::itemID, InventoryItem::itemName(), SystemEntity::m_allyID, SystemEntity::m_corpID, m_data, m_delayTime, m_miner, m_module, m_outpost, SystemEntity::m_ownerID, m_rotation, SystemEntity::m_self, m_tcu, m_tower, SystemEntity::m_warID, PyStatic, PyTuple::SetItem(), PyDict::SetItemString(), EVEPOS::StructureData::state, EVEPOS::StructureData::timestamp, EVEPOS::StructureData::towerID, InventoryItem::typeID(), Ga::GaVec3::x, Ga::GaVec3::y, and Ga::GaVec3::z.
|
inlinevirtual |
Reimplemented from SystemEntity.
Reimplemented in TowerSE.
Definition at line 146 of file Structure.h.
void StructureSE::Offline | ( | ) |
Definition at line 1381 of file Structure.cpp.
|
virtual |
Reimplemented in TowerSE.
Definition at line 918 of file Structure.cpp.
References m_duration, m_tower, and SetTimer().
Referenced by TowerSE::Online(), and Process().
|
virtual |
Reimplemented in TowerSE.
Definition at line 945 of file Structure.cpp.
References m_duration, m_tower, and SetTimer().
Referenced by TowerSE::Operating(), and Process().
|
virtual |
Reimplemented from SystemEntity.
Reimplemented in ReactorSE, ModuleSE, TowerSE, ArraySE, BatterySE, JumpBridgeSE, TCUSE, WeaponSE, IHubSE, and SBUSE.
Definition at line 458 of file Structure.cpp.
References _log, EVEPOS::StructureState::Anchored, EVEPOS::ProcState::Anchoring, EVEPOS::ProcState::ArmorReinforcing, Timer::Check(), Timer::Disable(), flagStructureInactive, SystemEntity::GetName(), GetTimeMSeconds(), Calendar::Flag::Invalid, EVEPOS::StructureState::Invulnerable, EVEPOS::StructureData::itemID, m_data, m_db, m_delayTime, SystemEntity::m_destiny, m_gateSE, m_moonSE, m_procState, m_procTimer, m_sbu, SystemEntity::m_self, m_tower, EVEPOS::ProcState::Offlining, Online, Online(), EVEPOS::ProcState::Onlining, EVEPOS::ProcState::Operating, Operating(), SystemEntity::Process(), EVEPOS::ProcState::Reinforcing, sDataMgr, SendSlimUpdate(), DestinyManager::SendSpecialEffect(), InventoryItem::SetFlag(), SetOffline(), SetOnline(), StargateSE::SetSBU(), MoonSE::SetTower(), EVEPOS::ProcState::SheildReinforcing, EVEPOS::StructureData::state, EVEPOS::StructureData::timestamp, InventoryItem::typeID(), EVEPOS::ProcState::Unanchoring, and PosMgrDB::UpdateBaseData().
Referenced by IHubSE::Process(), SBUSE::Process(), BatterySE::Process(), TCUSE::Process(), ArraySE::Process(), WeaponSE::Process(), JumpBridgeSE::Process(), TowerSE::Process(), ModuleSE::Process(), and ReactorSE::Process().
void StructureSE::PullAnchor | ( | ) |
Definition at line 734 of file Structure.cpp.
References EVEPOS::StructureState::Anchored, AttrUnanchoringDelay, EvilNumber::get_uint32(), InventoryItem::GetAttribute(), GetFileTimeNow(), EVEPOS::StructureData::itemID, SystemEntity::m_bubble, m_data, m_delayTime, SystemEntity::m_destiny, m_procState, m_procTimer, SystemEntity::m_self, m_tower, SendSlimUpdate(), DestinyManager::SendSpecialEffect(), Timer::SetTimer(), SystemBubble::SetTowerSE(), EVEPOS::StructureData::state, EVEPOS::StructureData::timestamp, InventoryItem::typeID(), EVEPOS::StructureState::Unanchored, and EVEPOS::ProcState::Unanchoring.
|
inlinevirtual |
Reimplemented in TowerSE.
Definition at line 158 of file Structure.h.
|
virtual |
Reimplemented in TowerSE.
Definition at line 449 of file Structure.cpp.
References InventoryItem::ChangeSingleton(), PosMgrDB::DeleteData(), EVEPOS::StructureData::itemID, m_data, m_db, and SystemEntity::m_self.
Referenced by TowerSE::Scoop().
|
protected |
Definition at line 989 of file Structure.cpp.
References PyList::AddItem(), GetFileTimeNow(), EVEPOS::StructureData::itemID, m_data, SystemEntity::m_destiny, SystemEntity::m_ownerID, PyStatic, and DestinyManager::SendSingleDestinyEvent().
void StructureSE::SendSlimUpdate | ( | ) |
Definition at line 966 of file Structure.cpp.
References IsAlliance, IsCorp, IsFaction, EVEPOS::StructureData::itemID, InventoryItem::itemName(), SystemEntity::m_allyID, SystemEntity::m_corpID, m_data, m_delayTime, SystemEntity::m_destiny, SystemEntity::m_ownerID, SystemEntity::m_self, SystemEntity::m_warID, PyStatic, DestinyManager::SendSingleDestinyUpdate(), PyTuple::SetItem(), PyDict::SetItemString(), EVEPOS::StructureData::state, EVEPOS::StructureData::timestamp, and InventoryItem::typeID().
Referenced by Activate(), Deactivate(), Process(), PullAnchor(), StructureItem::Rename(), SetAnchor(), SetInvulnerable(), TowerSE::SetOnline(), SetOperating(), and SetVulnerable().
Definition at line 600 of file Structure.cpp.
References _log, EVEPOS::StructureState::Anchored, EVEPOS::ProcState::Anchoring, AttrAnchorDistanceMax, AttrAnchoringDelay, AttranchoringRequiresSovUpgrade1, AttrMoonAnchorDistance, SovereigntyData::beaconID, Inventory::ContainsTypeQty(), EvE::Trig::Deg2Rad(), Ga::GaVec3::distance(), EvilNumber::get_int(), EvilNumber::get_uint32(), InventoryItem::GetAttribute(), GetFileTimeNow(), Client::GetLocationID(), InventoryItem::GetMyInventory(), SystemEntity::GetName(), SystemEntity::GetPosition(), SystemEntity::GetRadius(), MoonSE::HasTower(), SovereigntyData::hubID, is_log_enabled, EVEPOS::StructureData::itemID, InventoryItem::itemID(), SovereigntyData::jammerID, m_bridge, m_data, m_delayTime, SystemEntity::m_destiny, m_gateSE, m_generator, m_ihub, m_jammer, m_moonSE, m_procState, m_procTimer, m_sbu, SystemEntity::m_self, m_tcu, m_tower, InventoryItem::name(), InventoryItem::position(), InventoryItem::radius(), InventoryItem::SaveItem(), sBubbleMgr, DestinyManager::SendDestinyUpdate(), Client::SendErrorMsg(), SendSlimUpdate(), DestinyManager::SendSpecialEffect(), DestinyManager::SetPosition(), Timer::SetTimer(), sItemFactory, EVEPOS::StructureData::state, svDataMgr, EVEPOS::StructureData::timestamp, InventoryItem::typeID(), EVEPOS::StructureState::Unanchored, Ga::GaVec3::x, Ga::GaVec3::y, and Ga::GaVec3::z.
|
virtual |
Definition at line 901 of file Structure.cpp.
References EVEPOS::StructureState::Invulnerable, m_data, m_db, m_procState, EVEPOS::ProcState::Online, SendSlimUpdate(), EVEPOS::StructureData::state, and PosMgrDB::UpdateBaseData().
|
virtual |
Reimplemented in TowerSE, JumpBridgeSE, TCUSE, IHubSE, and SBUSE.
Definition at line 888 of file Structure.cpp.
References flagStructureInactive, InventoryItem::locationID(), m_generator, m_jammer, m_module, SystemEntity::m_self, m_towerSE, TowerSE::OfflineModule(), InventoryItem::SetFlag(), and svDataMgr.
Referenced by Process(), IHubSE::SetOffline(), SBUSE::SetOffline(), TCUSE::SetOffline(), JumpBridgeSE::SetOffline(), and TowerSE::SetOffline().
|
virtual |
Reimplemented in TowerSE, JumpBridgeSE, TCUSE, IHubSE, and SBUSE.
Definition at line 869 of file Structure.cpp.
References flagStructureActive, EVEPOS::StructureData::itemID, InventoryItem::itemID(), InventoryItem::locationID(), m_data, m_db, SystemEntity::m_destiny, m_duration, m_generator, m_jammer, m_procState, SystemEntity::m_self, EVEPOS::ProcState::Online, EVEPOS::StructureState::Online, DestinyManager::SendSpecialEffect(), InventoryItem::SetFlag(), SetTimer(), EVEPOS::StructureData::state, svDataMgr, InventoryItem::typeID(), and PosMgrDB::UpdateBaseData().
Referenced by Process(), IHubSE::SetOnline(), SBUSE::SetOnline(), TCUSE::SetOnline(), and JumpBridgeSE::SetOnline().
|
virtual |
Definition at line 931 of file Structure.cpp.
References GetFileTimeNow(), m_data, m_db, m_duration, m_procState, EVEPOS::ProcState::Operating, EVEPOS::StructureState::Operating, SendSlimUpdate(), SetTimer(), EVEPOS::StructureData::state, EVEPOS::StructureData::timestamp, and PosMgrDB::UpdateBaseData().
|
inline |
|
inline |
Definition at line 177 of file Structure.h.
References m_data, EVEPOS::StructureData::state, and state.
|
inline |
Definition at line 178 of file Structure.h.
References m_procTimer, and Timer::SetTimer().
Referenced by Online(), Operating(), TowerSE::SetOnline(), SetOnline(), SetOperating(), and SetVulnerable().
Definition at line 958 of file Structure.cpp.
References m_data, m_db, EVEPOS::StructureData::take, PosMgrDB::UpdateBaseData(), EVEPOS::StructureData::use, and EVEPOS::StructureData::view.
|
virtual |
Definition at line 909 of file Structure.cpp.
References m_data, m_db, m_duration, m_procState, EVEPOS::ProcState::Online, SendSlimUpdate(), SetTimer(), EVEPOS::StructureData::state, PosMgrDB::UpdateBaseData(), and EVEPOS::StructureState::Vulnerable.
|
inline |
Definition at line 190 of file Structure.h.
References EVEPOS::StructureData::itemID, m_data, m_db, and PosMgrDB::UpdateTimeStamp().
|
inline |
Definition at line 191 of file Structure.h.
References EVEPOS::StructureData::itemID, m_data, m_db, and PosMgrDB::UpdateUsageFlags().
|
protected |
Definition at line 221 of file Structure.h.
Referenced by GetPlanetID(), and SetPlanet().
|
private |
Definition at line 233 of file Structure.h.
Referenced by Init(), InitData(), and SetAnchor().
|
protected |
Definition at line 209 of file Structure.h.
Referenced by Init().
|
protected |
Definition at line 212 of file Structure.h.
Referenced by Activate(), CanTake(), CanUse(), CanView(), Deactivate(), EncodeDestiny(), GetEffectState(), GetState(), GetStatus(), TowerSE::Init(), ReactorSE::Init(), Init(), TowerSE::InitData(), ReactorSE::InitData(), InitData(), IsReinforced(), TowerSE::MakeSlimItem(), MakeSlimItem(), Process(), PullAnchor(), Scoop(), SendEffectUpdate(), SendSlimUpdate(), SetAnchor(), TowerSE::SetDeployFlags(), SetInvulnerable(), TCUSE::SetOnline(), TowerSE::SetOnline(), SetOnline(), SetOperating(), SetPOSState(), SetUsageFlags(), SetVulnerable(), StructureSE(), TowerSE::UpdateAccess(), TowerSE::UpdateNotify(), TowerSE::UpdatePassword(), TowerSE::UpdatePermission(), TowerSE::UpdateSentry(), UpdateTimeStamp(), and UpdateUsageFlags().
|
protected |
Definition at line 201 of file Structure.h.
Referenced by Activate(), Deactivate(), TowerSE::Init(), ReactorSE::Init(), Init(), TowerSE::InitData(), ReactorSE::InitData(), InitData(), Process(), Scoop(), TowerSE::SetDeployFlags(), SetInvulnerable(), TowerSE::SetOnline(), SetOnline(), SetOperating(), SetUsageFlags(), SetVulnerable(), TowerSE::UpdateAccess(), TowerSE::UpdateNotify(), TowerSE::UpdatePassword(), TowerSE::UpdatePermission(), TowerSE::UpdateSentry(), UpdateTimeStamp(), and UpdateUsageFlags().
|
protected |
Definition at line 217 of file Structure.h.
Referenced by Activate(), Deactivate(), TowerSE::MakeSlimItem(), MakeSlimItem(), Process(), PullAnchor(), SendSlimUpdate(), and SetAnchor().
|
private |
Definition at line 224 of file Structure.h.
Referenced by Init(), Online(), Operating(), SetOnline(), SetOperating(), and SetVulnerable().
|
protected |
Definition at line 210 of file Structure.h.
Referenced by GetGateSE(), Init(), InitData(), Process(), and SetAnchor().
|
private |
Definition at line 235 of file Structure.h.
Referenced by Init(), IsCynoGeneratorSE(), SetAnchor(), SetOffline(), and SetOnline().
|
private |
Definition at line 230 of file Structure.h.
Referenced by Activate(), EncodeDestiny(), Init(), and SetAnchor().
|
protected |
Definition at line 208 of file Structure.h.
Referenced by Init().
|
private |
Definition at line 234 of file Structure.h.
Referenced by Init(), IsJammerSE(), SetAnchor(), SetOffline(), and SetOnline().
|
private |
Definition at line 236 of file Structure.h.
Referenced by Init().
|
private |
Definition at line 232 of file Structure.h.
Referenced by Init(), IsMoonMiner(), and MakeSlimItem().
|
private |
Definition at line 237 of file Structure.h.
Referenced by Activate(), GetEffectState(), Init(), InitData(), MakeSlimItem(), and SetOffline().
|
protected |
Definition at line 203 of file Structure.h.
Referenced by GetMoonSE(), TowerSE::Init(), Init(), InitData(), Killed(), Process(), TowerSE::Scoop(), and SetAnchor().
|
private |
Definition at line 239 of file Structure.h.
Referenced by GetOutpostSE(), IsOutpostSE(), and MakeSlimItem().
|
protected |
Definition at line 204 of file Structure.h.
Referenced by GetPlanetSE().
|
protected |
Definition at line 214 of file Structure.h.
Referenced by Activate(), Deactivate(), GetProcState(), Process(), PullAnchor(), SetAnchor(), SetInvulnerable(), TowerSE::SetOnline(), SetOnline(), SetOperating(), and SetVulnerable().
|
private |
Definition at line 226 of file Structure.h.
Referenced by Activate(), Deactivate(), Process(), PullAnchor(), SetAnchor(), SetTimer(), and StructureSE().
|
private |
Definition at line 238 of file Structure.h.
Referenced by Init().
|
protected |
Definition at line 220 of file Structure.h.
Referenced by Init(), and MakeSlimItem().
|
private |
Definition at line 229 of file Structure.h.
Referenced by Activate(), EncodeDestiny(), Init(), InitData(), Process(), and SetAnchor().
|
protected |
Definition at line 207 of file Structure.h.
Referenced by Init().
|
private |
Definition at line 228 of file Structure.h.
Referenced by Activate(), EncodeDestiny(), Init(), MakeSlimItem(), and SetAnchor().
|
protected |
Definition at line 206 of file Structure.h.
Referenced by Init().
|
private |
Definition at line 231 of file Structure.h.
Referenced by Activate(), EncodeDestiny(), Init(), Killed(), MakeSlimItem(), Online(), Operating(), Process(), PullAnchor(), and SetAnchor().
|
protected |
Definition at line 205 of file Structure.h.
Referenced by Activate(), Init(), and SetOffline().