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

#include <BoneRegen.h>

Inheritance diagram for BoneRegen:
ModifierBase

Private Member Functions

void  BoneRegen (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 = 2500
 
private const float  MINIMAL_ENERGY_TO_REGENRATE = 4000
 
private const float  MINIMAL_BLOOD_TO_REGENRATE = 5000
 
private const float  MINIMAL_BLOOD_REQUIRED_TO_REGENERATE_HEALTH = 5000
 
private const float  BONE_HEALTH_INCREMENT_PER_SEC = 0.0025
 

Constructor & Destructor Documentation

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

Member Function Documentation

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

Member Data Documentation

private const float BoneRegen::MINIMAL_WATER_TO_REGENRATE = 2500
private

Referenced by AttachCondition(), and DetachCondition().

private const float BoneRegen::MINIMAL_ENERGY_TO_REGENRATE = 4000
private

Referenced by AttachCondition(), and DetachCondition().

private const float BoneRegen::MINIMAL_BLOOD_TO_REGENRATE = 5000
private

Referenced by AttachCondition(), and DetachCondition().

private const float BoneRegen::MINIMAL_BLOOD_REQUIRED_TO_REGENERATE_HEALTH = 5000
private
private const float BoneRegen::BONE_HEALTH_INCREMENT_PER_SEC = 0.0025
private

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