DayZ Enforce
Script API
Private Member Functions | Private Attributes | List of all members
Thirst Class Reference

#include <Thirst.h>

Inheritance diagram for Thirst:
ModifierBase

Private Member Functions

void  Thirst (string targetPool, ModifiersManager manager, ModifierPoolBase parent)
 
private bool  AttachCondition ()
 
private bool  DetachCondition ()
 
private void  OnTick ()
 

Private Attributes

private const float  LOW_WATER_TRESHOLD = 1000
 
private const float  WATER_DECREMENT_PER_SEC = -0.25
 
private float  m_LastWaterLevel
 

Constructor & Destructor Documentation

void Thirst::Thirst ( string  targetPool,
ModifiersManager  manager,
ModifierPoolBase  parent 
)
private

Member Function Documentation

private bool Thirst::AttachCondition ( )
private
private bool Thirst::DetachCondition ( )
private
private bool Thirst::OnTick ( )
private

Member Data Documentation

private const float Thirst::LOW_WATER_TRESHOLD = 1000
private

Referenced by OnTick().

private const float Thirst::WATER_DECREMENT_PER_SEC = -0.25
private

Referenced by OnTick().

private float Thirst::m_LastWaterLevel
private

Referenced by OnTick().


The documentation for this class was generated from the following files:
Converted from CHM to HTML with chm2web Pro 2.85 (unicode)