class PowerGeneratorStaticSource
PowerGeneratorStatic › PowerGeneratorBase › ItemBase › InventoryItem › EntityAI › Entity › ObjectTyped › Object › IEntity › Managed
All members, including inherited
Constructors 2
void PowerGeneratorStatic()References RegisterPersistentObject()
void ~PowerGeneratorStatic()References UnregisterPersistentObject()
Constants 2
const int SWITCH_COUNT = 6const int LOW_ENERGY_PERCENT = 5Members 7
protected static ref set<PowerGeneratorStatic> m_PowerGenerators = new set<PowerGeneratorStatic>()protected Land_WarheadStorage_PowerStation m_ParentReferenced by OnStoreSave(), OnWorkStart(), OnWorkStop()
Show 2 more
, SetLowEnergyState(), and SetParent()protected int m_ParentID1protected int m_ParentID2protected int m_ParentID3protected int m_ParentID4protected int m_LeverStatesBitsMethods 22
static void RegisterPersistentObject(PowerGeneratorStatic obj)Referenced by PowerGeneratorStatic()
static void UnregisterPersistentObject(PowerGeneratorStatic obj)Referenced by ~PowerGeneratorStatic()
static PowerGeneratorStatic GetClosestGenerator(vector position, float tolerance)void SetParent(Land_WarheadStorage_PowerStation parent)References m_Parent
void StoreLeverStates(int leverStateBits)References m_LeverStatesBits
Referenced by Land_WarheadStorage_PowerStation.Tick()
int GetStoredLeverBits()References m_LeverStatesBits
Referenced by Land_WarheadStorage_PowerStation.OnAfterLoadUpdate()
override void OnWorkStart()override void OnWorkStop()override void SetLowEnergyState(bool state)override vector GetSmokeParticlePosition()override vector GetSmokeParticleOrientation()override bool HasSparkplug()References GameInventory.FindAttachment(), EntityAI.GetInventory(), InventorySlots.GetSlotIdFromString()
Show 1 more
, Object.IsRuined()override void OnStoreSave(ParamsWriteContext ctx)References EntityAI.GetPersistentID(), ItemBase.OnStoreSave(), Serializer.Write()
Show 6 more
, m_LeverStatesBits, m_Parent, m_ParentID1, m_ParentID2, m_ParentID3, and m_ParentID4override bool OnStoreLoad(ParamsReadContext ctx, int version)References ItemBase.OnStoreLoad(), Serializer.Read(), m_LeverStatesBits
Show 4 more
, m_ParentID1, m_ParentID2, m_ParentID3, and m_ParentID4override void EEOnAfterLoad()override bool IsTakeable()override bool IsActionTargetVisible()override bool DisableVicinityIcon()void SetLowEnergyStateServer(bool state)