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

#include <ModifierBase.h>

Inheritance diagram for ModifierBase:
MessageReceiverBase Bleeding Blinded BloodRegen BoneRegen Burning CommonCold Exposure Fever Health HealthRegen HeartAttack HemolyticReaction Hunger Hyperthermia Hypothermia ImmuneSystem Influenza Poisoning StaminaCalc Stomach Temperature Testing Thirst Tremor Vomiting

Private Member Functions

void  ModifierBase (string targetPool, ModifiersManager manager, ModifierPoolBase parent)
 
private bool  AttachCondition ()
 
private bool  DetachCondition ()
 
private void  OnAttach ()
 
private void  OnDetach ()
 
private void  OnTick ()
 
void  SetHome (ModifierPoolBase home)
 
private void  Detach (bool b)
 
void  ForceDetach (bool b)
 
private void  Attach (bool b)
 
void  ForceAttach (bool b)
 
bool  OnPlayerTick (float deltaT)
 
bool  OnAttachCheck (float deltaT)
 
void  OnStoreSave (ParamsWriteContext ctx)
 
string  GetName ()
 
int  GetModifierType ()
 

Private Attributes

int  m_Type = 0
 
string  m_Target
 
ModifierPoolBase  m_Home
 
ModifiersManager  m_Manager
 
ModifierPoolBase  m_ParentPool
 
float  m_DeltaT
 
autoptr Timer  m_Timer1
 
PlayerBase  m_Player
 
PlayerStat< float >  m_Health
 
PlayerStat< float >  m_Blood
 
PlayerStat< float >  m_Shock
 
PlayerStat< float >  m_Unconscious
 
PlayerStat< float >  m_Temperature
 
PlayerStat< float >  m_HeatComfort
 
PlayerStat< float >  m_HeatIsolation
 
PlayerStat< float >  m_Tremor
 
PlayerStat< float >  m_Wet
 
PlayerStat< float >  m_Energy
 
PlayerStat< float >  m_Water
 
PlayerStat< float >  m_Stomach
 
PlayerStat< float >  m_StomachEnergy
 
PlayerStat< float >  m_StomachWater
 
PlayerStat< float >  m_Diet
 
PlayerStat< float >  m_Immunity
 
PlayerStat< float >  m_Stamina
 
PlayerStat< int >  m_BloodType
 
ModulePlayerStatus  m_ModulePlayerStatus
 

Constructor & Destructor Documentation

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

Member Function Documentation

private bool ModifierBase::AttachCondition ( )
private

Referenced by OnAttachCheck().

private bool ModifierBase::DetachCondition ( )
private

Referenced by OnPlayerTick().

private void ModifierBase::OnAttach ( )
private

Referenced by Attach().

private void ModifierBase::OnDetach ( )
private

Referenced by Detach().

private void ModifierBase::OnTick ( )
private

Referenced by OnPlayerTick().

void ModifierBase::SetHome ( ModifierPoolBase  home )
private

References m_Home.

Referenced by ModifierPoolBase::NewModifier().

private void ModifierBase::Detach ( bool  b )
private
void ModifierBase::ForceDetach ( bool  b )
private

References Detach().

private void ModifierBase::Attach ( bool  b )
private
void ModifierBase::ForceAttach ( bool  b )
private

References Attach().

bool ModifierBase::OnPlayerTick ( float  deltaT )
private
bool ModifierBase::OnAttachCheck ( float  deltaT )
private

References Attach(), AttachCondition(), and m_DeltaT.

void ModifierBase::OnStoreSave ( ParamsWriteContext  ctx )
private
string ModifierBase::GetName ( )
private

References ClassName().

Referenced by Attach(), and Detach().

int ModifierBase::GetModifierType ( )
private

References m_Type.

Referenced by OnStoreSave().

Member Data Documentation

int ModifierBase::m_Type = 0
private
string ModifierBase::m_Target
private

Referenced by Attach(), Detach(), and ModifierBase().

ModifierPoolBase ModifierBase::m_Home
private

Referenced by Detach(), and SetHome().

ModifiersManager ModifierBase::m_Manager
private
ModifierPoolBase ModifierBase::m_ParentPool
private

Referenced by Attach(), and ModifierBase().

float ModifierBase::m_DeltaT
private
autoptr Timer ModifierBase::m_Timer1
private

Referenced by ModifierBase(), and Testing::OnAttach().

PlayerBase ModifierBase::m_Player
private
PlayerStat<float> ModifierBase::m_Health
private
PlayerStat<float> ModifierBase::m_Blood
private
PlayerStat<float> ModifierBase::m_Shock
private
PlayerStat<float> ModifierBase::m_Unconscious
private

Referenced by ModifierBase().

PlayerStat<float> ModifierBase::m_Temperature
private
PlayerStat<float> ModifierBase::m_HeatComfort
private
PlayerStat<float> ModifierBase::m_HeatIsolation
private

Referenced by ModifierBase().

PlayerStat<float> ModifierBase::m_Tremor
private
PlayerStat<float> ModifierBase::m_Wet
private

Referenced by ModifierBase().

PlayerStat<float> ModifierBase::m_Energy
private
PlayerStat<float> ModifierBase::m_Water
private
PlayerStat<float> ModifierBase::m_Stomach
private
PlayerStat<float> ModifierBase::m_StomachEnergy
private
PlayerStat<float> ModifierBase::m_StomachWater
private
PlayerStat<float> ModifierBase::m_Diet
private
PlayerStat<float> ModifierBase::m_Immunity
private
PlayerStat<float> ModifierBase::m_Stamina
private
PlayerStat<int> ModifierBase::m_BloodType
private

Referenced by ModifierBase().

ModulePlayerStatus ModifierBase::m_ModulePlayerStatus
private

Referenced by ModifierBase().


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