|
virtual | ~TowerSE () |
|
virtual TowerSE * | GetTowerSE () |
|
virtual bool | IsTowerSE () |
|
virtual void | MissileLaunched (Missile *pMissile) |
|
void | SetStanding (float set) |
|
void | SetStatus (float set) |
|
void | SetStatusDrop (bool set) |
|
void | SetCorpWar (bool set) |
|
void | SetCorpAccess (bool set) |
|
void | SetAllyAccess (bool set) |
|
void | SetUseAllyStandings (bool set) |
|
void | SetStandingOwnerID (bool set) |
|
void | SetPassword (std::string pass) |
|
bool | HasForceField () |
|
bool | GetStatusDrop () |
|
bool | GetCorpWar () |
|
float | GetStanding () |
|
uint32 | GetStandingOwnerID () |
|
std::string | GetPassword () |
|
bool | ShowInCalendar () |
|
bool | SendFuelNotifications () |
|
void | SetShowInCalendar (bool set) |
|
void | SetSendFuelNotifications (bool set) |
|
void | GetTowerData (EVEPOS::TowerData &tData) |
|
uint16 | GetSOI () |
|
void | AddModule (StructureSE *pSE) |
|
void | RemoveModule (StructureSE *pSE) |
|
void | UpdateAccess () |
|
void | UpdateSentry () |
|
void | UpdateNotify () |
|
void | UpdatePermission () |
|
void | ApplyResist (uint16 type, float amount) |
|
void | RemoveResist (uint16 type, float amount) |
|
void | OnlineModule (StructureSE *pSE) |
|
void | OfflineModule (StructureSE *pSE) |
|
bool | HasPG (float amount) |
|
bool | HasCPU (float amount) |
|
float | GetPGLoad () |
|
float | GetCPULoad () |
|
virtual | ~StructureSE () |
|
virtual StructureSE * | GetPOSSE () |
|
virtual StructureSE * | GetOutpostSE () |
|
virtual ArraySE * | GetArraySE () |
|
virtual BatterySE * | GetBatterySE () |
|
virtual WeaponSE * | GetWeaponSE () |
|
virtual ReactorSE * | GetReactorSE () |
|
virtual TCUSE * | GetTCUSE () |
|
virtual SBUSE * | GetSBUSE () |
|
virtual IHubSE * | GetIHubSE () |
|
virtual JumpBridgeSE * | GetJumpBridgeSE () |
|
virtual bool | IsPOSSE () |
|
virtual bool | IsTCUSE () |
|
virtual bool | IsSBUSE () |
|
virtual bool | IsIHubSE () |
|
virtual bool | IsJammerSE () |
|
virtual bool | IsCynoGeneratorSE () |
|
virtual bool | IsMoonMiner () |
|
virtual bool | IsOutpostSE () |
|
virtual bool | IsJumpBridgeSE () |
|
virtual bool | IsArraySE () |
|
virtual bool | IsBatterySE () |
|
virtual bool | IsWeaponSE () |
|
virtual bool | IsReactorSE () |
|
uint8 | GetState () const |
|
int8 | GetProcState () |
|
float | GetStatus () |
|
MoonSE * | GetMoonSE () |
|
PlanetSE * | GetPlanetSE () |
|
StargateSE * | GetGateSE () |
|
void | SetPOSState (uint8 state) |
|
void | SetTimer (uint32 time) |
|
int8 | CanUse () |
|
int8 | CanView () |
|
int8 | CanTake () |
|
void | SetPlanet (uint32 planetID) |
|
uint32 | GetPlanetID () |
|
void | UpdateTimeStamp () |
|
void | UpdateUsageFlags () |
|
bool | IsReinforced () |
|
| StructureSE (StructureItemRef structure, PyServiceMgr &services, SystemManager *system, const FactionData &data) |
|
virtual void | EncodeDestiny (Buffer &into) |
|
virtual void | Killed (Damage &fatal_blow) |
|
virtual void | SetInvulnerable () |
|
virtual void | SetVulnerable () |
|
virtual void | SetOperating () |
|
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 () |
|
| DynamicSystemEntity (InventoryItemRef self, PyServiceMgr &services, SystemManager *system) |
|
virtual | ~DynamicSystemEntity () |
|
virtual DynamicSystemEntity * | GetDynamicSE () |
|
virtual bool | IsDynamicEntity () |
|
virtual void | UpdateDamage () |
|
virtual void | MakeDamageState (DoDestinyDamageState &into) |
|
virtual bool | Load () |
|
virtual bool | IsInvul () |
|
virtual bool | IsFrozen () |
|
void | AwardBounty (Client *pClient) |
|
void | SetInvul (bool invul=false) |
|
void | SetFrozen (bool frozen=false) |
|
| SystemEntity (InventoryItemRef self, PyServiceMgr &services, SystemManager *system) |
|
virtual | ~SystemEntity () |
|
virtual bool | ProcessTic () |
|
virtual SystemEntity * | GetSE () |
|
virtual StaticSystemEntity * | GetStaticSE () |
|
virtual StationSE * | GetStationSE () |
|
virtual BeltSE * | GetBeltSE () |
|
virtual ItemSystemEntity * | GetItemSE () |
|
virtual ContainerSE * | GetContSE () |
|
virtual WreckSE * | GetWreckSE () |
|
virtual AnomalySE * | GetAnomalySE () |
|
virtual WormholeSE * | GetWormholeSE () |
|
virtual FieldSE * | GetFieldSE () |
|
virtual ProbeSE * | GetProbeSE () |
|
virtual ObjectSystemEntity * | GetObjectSE () |
|
virtual AsteroidSE * | GetAsteroidSE () |
|
virtual StructureSE * | GetJammerSE () |
|
virtual DeployableSE * | GetDeployableSE () |
|
virtual Sentry * | GetSentrySE () |
|
virtual ModuleSE * | GetModuleSE () |
|
virtual CustomsSE * | GetCOSE () |
|
virtual NPC * | GetNPCSE () |
|
virtual DroneSE * | GetDroneSE () |
|
virtual Missile * | GetMissileSE () |
|
virtual ShipSE * | GetShipSE () |
|
virtual Concord * | GetConcordSE () |
|
virtual bool | isGlobal () |
|
virtual bool | IsSystemEntity () |
|
virtual bool | IsInanimateSE () |
|
virtual bool | IsStaticEntity () |
|
virtual bool | IsBeltSE () |
|
virtual bool | IsGateSE () |
|
virtual bool | IsPlanetSE () |
|
virtual bool | IsMoonSE () |
|
virtual bool | IsStationSE () |
|
virtual bool | IsItemEntity () |
|
virtual bool | IsAnomalySE () |
|
virtual bool | IsWormholeSE () |
|
virtual bool | IsCelestialSE () |
|
virtual bool | IsContainerSE () |
|
virtual bool | IsFieldSE () |
|
virtual bool | IsProbeSE () |
|
virtual bool | IsObjectEntity () |
|
virtual bool | IsSentrySE () |
|
virtual bool | IsCOSE () |
|
virtual bool | IsModuleSE () |
|
virtual bool | IsAsteroidSE () |
|
virtual bool | IsDeployableSE () |
|
virtual bool | IsOperSE () |
|
virtual bool | IsLogin () |
|
virtual bool | IsNPCSE () |
|
virtual bool | IsDroneSE () |
|
virtual bool | IsWreckSE () |
|
virtual bool | IsMissileSE () |
|
virtual bool | IsShipSE () |
|
virtual bool | IsConcord () |
|
PyServiceMgr & | GetServices () |
|
SystemBubble * | SysBubble () |
|
SystemManager * | SystemMgr () |
|
TargetManager * | TargetMgr () |
|
DestinyManager * | DestinyMgr () |
|
InventoryItemRef | GetSelf () |
|
uint16 | GetTypeID () |
|
uint32 | GetGroupID () |
|
uint8 | GetCategoryID () |
|
EVEItemFlags | GetFlag () |
|
uint32 | GetID () |
|
double | GetRadius () |
|
uint32 | GetLocationID () |
|
const char * | GetName () const |
|
const GPoint & | GetPosition () const |
|
void | SetPosition (const GPoint &pos) |
|
double | x () |
|
double | y () |
|
double | z () |
|
int32 | GetAllianceID () |
|
int32 | GetWarFactionID () |
|
uint32 | GetCorporationID () |
|
uint32 | GetOwnerID () |
|
uint32 | GetFleetID () |
|
void | SetFleetID (uint32 set) |
|
int8 | GetHarmonic () |
|
void | SetHarmonic (int8 set) |
|
void | DropLoot (WreckContainerRef wreckRef, uint32 groupID, uint32 owner) |
|
void | AwardSecurityStatus (InventoryItemRef iRef, Character *pChar) |
|
void | SendDamageStateChanged () |
|
bool | ApplyDamage (Damage &d) |
|
double | DistanceTo2 (const SystemEntity *other) |
|
PyTuple * | MakeDamageState () |
|
virtual void | Abandon () |
|
const bool | IsDead () |
|
const GVector & | GetVelocity () |
|
virtual bool | LoadExtras () |
|
virtual void | Delete () |
|
virtual void | SetPilot (Client *pClient) |
|
virtual bool | HasPilot () |
|
virtual Client * | GetPilot () |
|
Definition at line 19 of file Tower.h.
- Todo:
- (Allan) this class needs more research to finish see pics in ::GamePC/G/games/EvE/misc/POS flagStructureActive = 144, flagStructureInactive = 145, AttrOperationConsumptionRate = 687, AttrReinforcedConsumptionRate = 688, AttrResourceReinforced1Type = 694, AttrResourceReinforced2Type = 695, AttrResourceReinforced3Type = 696, AttrResourceReinforced4Type = 697, AttrResourceReinforced5Type = 698, AttrResourceReinforced1Quantity = 699, AttrResourceReinforced2Quantity = 700, AttrResourceReinforced3Quantity = 701, AttrResourceReinforced4Quantity = 703, AttrResourceReinforced5Quantity = 704, AttrResourceOnline1Type = 705, AttrResourceOnline2Type = 706, AttrResourceOnline3Type = 707, AttrResourceOnline4Type = 708, many other attributes for towers and their modules..... AttrControlTowerMissileVelocityBonus = 792, AttrControlTowerSize = 1031, AttrAnchoringSecurityLevelMax = 1032, AttrAnchoringRequiresSovereignty = 1033, AttrControlTowerMinimumDistance = 1165, AttrPosPlayerControlStructure = 1167, AttrIsIncapacitated = 1168, AttrPosStructureControlAmount = 1174, AttrOnliningRequiresSovereigntyLevel = 1185, AttrPosAnchoredPerSolarSystemAmount = 1195, AttrPosStructureControlDistanceMax = 1214, AttrAnchoringRequiresSovereigntyLevel = 1215, AttrHarvesterType = 709, AttrHarvesterQuality = 710, AttrMoonAnchorDistance = 711, AttrUsageDamagePercent = 712, AttrConsumptionType = 713, AttrConsumptionQuantity = 714, AttrMaxOperationalDistance = 715, for sma, hangar, etc AttrMaxOperationalUsers = 716, for sma, hangar, etc AttrRefiningYieldMultiplier = 717, AttrOperationalDuration = 719, AttrRefineryCapacity = 720, AttrRefiningDelayMultiplier = 721, AttrPosControlTowerPeriod = 722, AttrMoonMiningAmount = 726, AttrControlTowerLaserDamageBonus = 728, AttrControlTowerLaserOptimalBonus = 750, AttrControlTowerHybridOptimalBonus = 751, AttrControlTowerProjectileOptimalBonus = 752, AttrControlTowerProjectileFallOffBonus = 753, AttrControlTowerProjectileROFBonus = 754, AttrControlTowerMissileROFBonus = 755, AttrControlTowerMoonHarvesterCPUBonus = 756, AttrControlTowerSiloCapacityBonus = 757, AttrControlTowerLaserProximityRangeBonus = 760, AttrControlTowerProjectileProximityRangeBonus = 761, AttrControlTowerHybridProximityRangeBonus = 762, AttrMaxGroupActive = 763, AttrControlTowerEwRofBonus = 764, AttrScanRange = 765, AttrControlTowerHybridDamageBonus = 766, AttrTrackingSpeedBonus = 767, AttrMaxRangeBonus2 = 769, AttrControlTowerEwTargetSwitchDelayBonus = 770, AttrAmmoCapacity = 771, AttrActivationBlocked = 1349, AttrActivationBlockedStrenght = 1350, AttrPosCargobayAcceptType = 1351, AttrPosCargobayAcceptGroup = 1352,
- Note
- these are defined, but i dunno what they are AttrControlTowerMinimumDistance
Definition at line 105 of file Tower.cpp.
References AttrControlTowerSize, AttrCpuOutput, AttrPosStructureControlDistanceMax, AttrPowerOutput, EvilNumber::get_int(), InventoryItem::GetAttribute(), m_cpu, m_hasShield, m_pg, SystemEntity::m_self, m_soi, m_structs, m_tdata, and m_tsize.
StructureSE(StructureItemRef structure, PyServiceMgr &services, SystemManager *system, const FactionData &data)
std::map< uint32, StructureSE * > m_structs
EVEPOS::TowerData m_tdata
EvilNumber GetAttribute(const uint16 attrID) const
SystemEntity * m_pShieldSE
- Todo:
- will have to check if Online or Operating in these two cases, remove resources based on time running. if resources run out, reset state and set timer accordingly. if reinforced, remove resources and continue until timer runs out.
timer is in base StructureSE code.
Reimplemented from StructureSE.
Definition at line 136 of file Tower.cpp.
References _log, EVEPOS::StructureState::Anchored, CreateForceField(), PosMgrDB::GetTowerData(), EVEPOS::TowerData::harmonic, StructureSE::Init(), InitData(), InventoryItem::itemID(), SystemEntity::m_bubble, StructureSE::m_data, StructureSE::m_db, SystemEntity::m_harmonic, StructureSE::m_moonSE, SystemEntity::m_self, m_tdata, InventoryItem::name(), EVEPOS::Harmonic::Offline, EVEPOS::TowerData::password, MoonSE::SetTower(), SystemBubble::SetTowerSE(), EVEPOS::StructureData::state, and EVEPOS::StructureState::Unanchored.
#define _log(type, fmt,...)
bool GetTowerData(EVEPOS::TowerData &tData, EVEPOS::StructureData &sData)
EVEPOS::StructureData m_data
EVEPOS::TowerData m_tdata
void SetTowerSE(TowerSE *pTower)
void SetTower(StructureSE *pSE)
PyDict * TowerSE::MakeSlimItem |
( |
| ) |
|
|
virtual |
Reimplemented from StructureSE.
Definition at line 515 of file Tower.cpp.
References _log, SystemEntity::GetID(), SystemEntity::GetName(), EVEPOS::StructureState::Incapacitated, is_log_enabled, IsAlliance, IsCorp, IsFaction, InventoryItem::itemID(), InventoryItem::itemName(), SystemEntity::m_allyID, SystemEntity::m_corpID, StructureSE::m_data, StructureSE::m_delayTime, SystemEntity::m_ownerID, SystemEntity::m_self, SystemEntity::m_warID, PyStatic, EVEPOS::StructureData::state, EVEPOS::StructureData::timestamp, and InventoryItem::typeID().
534 _log( POS__SLIMITEM,
"TowerSE::MakeSlimItem() - %s(%u)",
GetName(),
GetID());
535 slim->Dump(POS__SLIMITEM,
" ");
#define _log(type, fmt,...)
#define is_log_enabled(type)
const char * GetName() const
EVEPOS::StructureData m_data
const std::string & itemName() const
#define IsFaction(itemID)
#define IsAlliance(itemID)
void TowerSE::SetOnline |
( |
| ) |
|
|
virtual |
- Todo:
- determine fuel supply and make calendar event for expiration
std::string title = "Expiration of Tower fuel";
std::string description = "The Control Tower "; description += ** get tower name here **; description += " in "; description += ** get tower location name here **; description += " will exhaust it's current fuel supply at this time."; // change this to eve datetime? CalendarDB::SaveSystemEvent(call.client->GetCorporationID(), [towerID here?], expiryTime, Calendar::AutoEvent::PosFuel, title, description, true);
Reimplemented from StructureSE.
Definition at line 215 of file Tower.cpp.
References AttrOnliningDelay, CreateForceField(), flagStructureActive, EvilNumber::get_int(), InventoryItem::GetAttribute(), GetFileTimeNow(), EVEPOS::TowerData::harmonic, InventoryItem::itemID(), StructureSE::m_data, StructureSE::m_db, SystemEntity::m_destiny, SystemEntity::m_harmonic, StructureSE::m_procState, SystemEntity::m_self, m_tdata, EVEPOS::Harmonic::Offline, EVEPOS::Harmonic::Online, EVEPOS::ProcState::Online, EVEPOS::StructureState::Online, EVEPOS::TowerData::password, StructureSE::SendSlimUpdate(), DestinyManager::SendSpecialEffect(), InventoryItem::SetFlag(), StructureSE::SetTimer(), EVEPOS::StructureData::state, EVEPOS::StructureData::timestamp, InventoryItem::typeID(), and PosMgrDB::UpdateBaseData().
232 m_destiny->
SendSpecialEffect(
m_self->
itemID(),
m_self->
itemID(),
m_self->
typeID(),0,0,
"effects.StructureOnline",0,1,1,-1,0);
void SetTimer(uint32 time)
DestinyManager * m_destiny
bool SetFlag(EVEItemFlags flag, bool notify=false)
void UpdateBaseData(EVEPOS::StructureData &data)
void SendSpecialEffect(uint32 entityID, uint32 moduleID, uint32 moduleTypeID, uint32 targetID, uint32 chargeTypeID, std::string guid, bool isOffensive, bool start, bool isActive, int32 duration, uint32 repeat, int32 graphicInfo=0) const
EVEPOS::StructureData m_data
EVEPOS::TowerData m_tdata
EvilNumber GetAttribute(const uint16 attrID) const