DIFF

class PowerGeneratorStaticSource

PowerGeneratorStatic PowerGeneratorBase ItemBase InventoryItem EntityAI Entity ObjectTyped Object IEntity Managed

All members, including inherited

Constructors 2

void PowerGeneratorStatic()
void ~PowerGeneratorStatic()

Constants 2

const int SWITCH_COUNT = 6
Referenced by OnWorkStart(), and OnWorkStop()
const int LOW_ENERGY_PERCENT = 5

Members 7

protected static ref set<PowerGeneratorStatic> m_PowerGenerators = new set<PowerGeneratorStatic>()
Referenced by OnStoreSave(), OnWorkStart(), OnWorkStop()
Show 2 more, SetLowEnergyState(), and SetParent()
protected int m_ParentID1
protected int m_ParentID2
protected int m_ParentID3
protected int m_ParentID4
protected int m_LeverStatesBits

Methods 22

static void RegisterPersistentObject(PowerGeneratorStatic obj)
static void UnregisterPersistentObject(PowerGeneratorStatic obj)
static PowerGeneratorStatic GetClosestGenerator(vector position, float tolerance)
void StoreLeverStates(int leverStateBits)
int GetStoredLeverBits()
override vector GetSmokeParticlePosition()
override vector GetSmokeParticleOrientation()
override bool CanPutInCargo(EntityAI parent)
override bool CanPutIntoHands(EntityAI parent)
override bool OnStoreLoad(ParamsReadContext ctx, int version)
override bool IsTakeable()
override bool IsActionTargetVisible()
override bool DisableVicinityIcon()
void SetLowEnergyStateServer(bool state)