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

#include <HealthRegen.h>

Inheritance diagram for HealthRegen:
ModifierBase

Private Member Functions

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

Private Attributes

private const float  MINIMAL_WATER_TO_REGENRATE = 1500
 
private const float  MINIMAL_ENERGY_TO_REGENRATE = 2000
 
private const float  MINIMAL_BLOOD_REQUIRED_TO_REGENERATE_HEALTH = 5000
 
private const float  HEALTH_INCREMENT_PER_SEC = 1
 

Constructor & Destructor Documentation

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

Member Function Documentation

private bool HealthRegen::AttachCondition ( )
private
private bool HealthRegen::DetachCondition ( )
private
private void HealthRegen::OnAttach ( )
private
private bool HealthRegen::OnTick ( )
private

Member Data Documentation

private const float HealthRegen::MINIMAL_WATER_TO_REGENRATE = 1500
private

Referenced by AttachCondition(), and DetachCondition().

private const float HealthRegen::MINIMAL_ENERGY_TO_REGENRATE = 2000
private

Referenced by AttachCondition(), and DetachCondition().

private const float HealthRegen::MINIMAL_BLOOD_REQUIRED_TO_REGENERATE_HEALTH = 5000
private

Referenced by OnTick().

private const float HealthRegen::HEALTH_INCREMENT_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)