Private Member Functions | |
void | PowerGeneratorStatic () |
void | ~PowerGeneratorStatic () |
void | SetParent (Land_WarheadStorage_PowerStation parent) |
void | StoreLeverStates (int leverStateBits) |
int | GetStoredLeverBits () |
override void | OnWorkStart () |
override void | OnWorkStop () |
override void | SetLowEnergyState (bool state) |
override vector | GetSmokeParticlePosition () |
override vector | GetSmokeParticleOrientation () |
override bool | HasSparkplug () |
override bool | CanPutInCargo (EntityAI parent) |
override bool | CanPutIntoHands (EntityAI parent) |
override void | OnStoreSave (ParamsWriteContext ctx) |
override bool | OnStoreLoad (ParamsReadContext ctx, int version) |
override void | EEOnAfterLoad () |
override bool | CanReleaseAttachment (EntityAI attachment) |
override bool | IsTakeable () |
override bool | IsActionTargetVisible () |
override bool | DisableVicinityIcon () |
void | SetLowEnergyStateServer (bool state) |
Static Private Member Functions | |
static void | RegisterPersistentObject (PowerGeneratorStatic obj) |
static void | UnregisterPersistentObject (PowerGeneratorStatic obj) |
static PowerGeneratorStatic | GetClosestGenerator (vector position, float tolerance) |
Private Attributes | |
const int | SWITCH_COUNT = 6 |
const int | LOW_ENERGY_PERCENT = 5 |
protected Land_WarheadStorage_PowerStation | m_Parent |
protected int | m_ParentID1 |
protected int | m_ParentID2 |
protected int | m_ParentID3 |
protected int | m_ParentID4 |
protected int | m_LeverStatesBits |
Static Private Attributes | |
static protected ref set< PowerGeneratorStatic > | m_PowerGenerators = new set<PowerGeneratorStatic>() |
|
inlineprivate |
References RegisterPersistentObject().
|
inlineprivate |
References UnregisterPersistentObject().
|
inlineprivate |
|
inlineprivate |
|
inlinestaticprivate |
References vector::DistanceSq(), m_PowerGenerators, and float::MAX.
Referenced by Land_WarheadStorage_PowerStation::LinkPowerGeneratorServer().
|
inlineprivate |
|
inlineprivate |
|
inlineprivate |
References m_LeverStatesBits.
Referenced by Land_WarheadStorage_PowerStation::OnAfterLoadUpdate().
|
inlineprivate |
References InventorySlots::GetSlotIdFromString().
|
inlineprivate |
|
inlineprivate |
|
inlineprivate |
References m_LeverStatesBits, m_ParentID1, m_ParentID2, m_ParentID3, m_ParentID4, and Serializer::Read().
|
inlineprivate |
References m_LeverStatesBits, m_Parent, m_ParentID1, m_ParentID2, m_ParentID3, m_ParentID4, and Serializer::Write().
|
inlineprivate |
References GetGame(), m_Parent, Land_WarheadStorage_PowerStation::OnGeneratorStart(), and SWITCH_COUNT.
|
inlineprivate |
References GetGame(), m_Parent, Land_WarheadStorage_PowerStation::OnGeneratorStop(), and SWITCH_COUNT.
|
inlinestaticprivate |
References m_PowerGenerators.
Referenced by PowerGeneratorStatic().
|
inlineprivate |
|
private |
|
inlineprivate |
References m_Parent.
Referenced by Land_WarheadStorage_PowerStation::LinkPowerGeneratorServer().
|
inlineprivate |
References m_LeverStatesBits.
Referenced by Land_WarheadStorage_PowerStation::Tick().
|
inlinestaticprivate |
References m_PowerGenerators.
Referenced by ~PowerGeneratorStatic().
|
private |
|
private |
Referenced by GetStoredLeverBits(), OnStoreLoad(), OnStoreSave(), and StoreLeverStates().
|
private |
Referenced by OnStoreSave(), OnWorkStart(), OnWorkStop(), SetLowEnergyState(), and SetParent().
|
private |
Referenced by EEOnAfterLoad(), OnStoreLoad(), and OnStoreSave().
|
private |
Referenced by EEOnAfterLoad(), OnStoreLoad(), and OnStoreSave().
|
private |
Referenced by EEOnAfterLoad(), OnStoreLoad(), and OnStoreSave().
|
private |
Referenced by EEOnAfterLoad(), OnStoreLoad(), and OnStoreSave().
|
staticprivate |
Referenced by GetClosestGenerator(), RegisterPersistentObject(), and UnregisterPersistentObject().
|
private |
Referenced by OnWorkStart(), and OnWorkStop().