Dayz Explorer 1.28.160049
Loading...
Searching...
No Matches
PowerGeneratorStatic Class Reference
Inheritance diagram for PowerGeneratorStatic:

Protected 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 Protected Member Functions

static void RegisterPersistentObject (PowerGeneratorStatic obj)
 
static void UnregisterPersistentObject (PowerGeneratorStatic obj)
 
static PowerGeneratorStatic GetClosestGenerator (vector position, float tolerance)
 

Protected Attributes

Land_WarheadStorage_PowerStation m_Parent
 
int m_ParentID1
 
int m_ParentID2
 
int m_ParentID3
 
int m_ParentID4
 
int m_LeverStatesBits
 

Static Protected Attributes

static ref set< PowerGeneratorStaticm_PowerGenerators = new set<PowerGeneratorStatic>()
 

Detailed Description

Definition at line 1 of file powergeneratorstatic.c.

Constructor & Destructor Documentation

◆ PowerGeneratorStatic()

void PowerGeneratorStatic::PowerGeneratorStatic ( )
protected

Definition at line 16 of file powergeneratorstatic.c.

◆ ~PowerGeneratorStatic()

void PowerGeneratorStatic::~PowerGeneratorStatic ( )
protected

Definition at line 21 of file powergeneratorstatic.c.

Member Function Documentation

◆ CanPutInCargo()

override bool PowerGeneratorStatic::CanPutInCargo ( EntityAI parent)
protected

Definition at line 143 of file powergeneratorstatic.c.

◆ CanPutIntoHands()

override bool PowerGeneratorStatic::CanPutIntoHands ( EntityAI parent)
protected

Definition at line 149 of file powergeneratorstatic.c.

◆ CanReleaseAttachment()

override bool PowerGeneratorStatic::CanReleaseAttachment ( EntityAI attachment)
protected

Definition at line 212 of file powergeneratorstatic.c.

◆ DisableVicinityIcon()

override bool PowerGeneratorStatic::DisableVicinityIcon ( )
protected

Definition at line 229 of file powergeneratorstatic.c.

◆ EEOnAfterLoad()

override void PowerGeneratorStatic::EEOnAfterLoad ( )
protected

Definition at line 197 of file powergeneratorstatic.c.

◆ GetClosestGenerator()

static PowerGeneratorStatic PowerGeneratorStatic::GetClosestGenerator ( vector position,
float tolerance )
staticprotected

Definition at line 42 of file powergeneratorstatic.c.

◆ GetSmokeParticleOrientation()

override vector PowerGeneratorStatic::GetSmokeParticleOrientation ( )
protected

Definition at line 128 of file powergeneratorstatic.c.

◆ GetSmokeParticlePosition()

override vector PowerGeneratorStatic::GetSmokeParticlePosition ( )
protected

Definition at line 123 of file powergeneratorstatic.c.

◆ GetStoredLeverBits()

int PowerGeneratorStatic::GetStoredLeverBits ( )
protected

Definition at line 70 of file powergeneratorstatic.c.

◆ HasSparkplug()

override bool PowerGeneratorStatic::HasSparkplug ( )
protected

Definition at line 134 of file powergeneratorstatic.c.

◆ IsActionTargetVisible()

override bool PowerGeneratorStatic::IsActionTargetVisible ( )
protected

Definition at line 224 of file powergeneratorstatic.c.

◆ IsTakeable()

override bool PowerGeneratorStatic::IsTakeable ( )
protected

Definition at line 219 of file powergeneratorstatic.c.

◆ OnStoreLoad()

override bool PowerGeneratorStatic::OnStoreLoad ( ParamsReadContext ctx,
int version )
protected

Definition at line 169 of file powergeneratorstatic.c.

◆ OnStoreSave()

override void PowerGeneratorStatic::OnStoreSave ( ParamsWriteContext ctx)
protected

Definition at line 154 of file powergeneratorstatic.c.

◆ OnWorkStart()

override void PowerGeneratorStatic::OnWorkStart ( )
protected

Definition at line 76 of file powergeneratorstatic.c.

◆ OnWorkStop()

override void PowerGeneratorStatic::OnWorkStop ( )
protected

Definition at line 94 of file powergeneratorstatic.c.

◆ RegisterPersistentObject()

static void PowerGeneratorStatic::RegisterPersistentObject ( PowerGeneratorStatic obj)
staticprotected

Definition at line 26 of file powergeneratorstatic.c.

◆ SetLowEnergyState()

override void PowerGeneratorStatic::SetLowEnergyState ( bool state)
protected

Definition at line 111 of file powergeneratorstatic.c.

◆ SetLowEnergyStateServer()

void PowerGeneratorStatic::SetLowEnergyStateServer ( bool state)
protected

◆ SetParent()

void PowerGeneratorStatic::SetParent ( Land_WarheadStorage_PowerStation parent)
protected

Definition at line 59 of file powergeneratorstatic.c.

◆ StoreLeverStates()

void PowerGeneratorStatic::StoreLeverStates ( int leverStateBits)
protected

Definition at line 65 of file powergeneratorstatic.c.

◆ UnregisterPersistentObject()

static void PowerGeneratorStatic::UnregisterPersistentObject ( PowerGeneratorStatic obj)
staticprotected

Definition at line 31 of file powergeneratorstatic.c.

Member Data Documentation

◆ m_LeverStatesBits

int PowerGeneratorStatic::m_LeverStatesBits
protected

Definition at line 14 of file powergeneratorstatic.c.

◆ m_Parent

Land_WarheadStorage_PowerStation PowerGeneratorStatic::m_Parent
protected

Definition at line 7 of file powergeneratorstatic.c.

◆ m_ParentID1

int PowerGeneratorStatic::m_ParentID1
protected

Definition at line 9 of file powergeneratorstatic.c.

◆ m_ParentID2

int PowerGeneratorStatic::m_ParentID2
protected

Definition at line 10 of file powergeneratorstatic.c.

◆ m_ParentID3

int PowerGeneratorStatic::m_ParentID3
protected

Definition at line 11 of file powergeneratorstatic.c.

◆ m_ParentID4

int PowerGeneratorStatic::m_ParentID4
protected

Definition at line 12 of file powergeneratorstatic.c.

◆ m_PowerGenerators

ref set<PowerGeneratorStatic> PowerGeneratorStatic::m_PowerGenerators = new set<PowerGeneratorStatic>()
staticprotected

Definition at line 6 of file powergeneratorstatic.c.


The documentation for this class was generated from the following file: