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

#include <Hunger.h>

Inheritance diagram for Hunger:
ModifierBase

Private Member Functions

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

Private Attributes

private float  m_EnergyDelta
 
private float  m_LastEnergyLevel
 
private const float  LOW_ENERGY_TRESHOLD = 1000
 
private const float  ENERGY_DECREMENT_PER_SEC = -1
 

Constructor & Destructor Documentation

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

Member Function Documentation

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

Member Data Documentation

private float Hunger::m_EnergyDelta
private
private float Hunger::m_LastEnergyLevel
private

Referenced by OnTick().

private const float Hunger::LOW_ENERGY_TRESHOLD = 1000
private

Referenced by OnTick().

private const float Hunger::ENERGY_DECREMENT_PER_SEC = -1
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)