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

#include <NotifierBase.h>

Inheritance diagram for NotifierBase:
Bleedish Blood Feverish Fracture Healthy Hungry Lives Sick Stamina Stuffed Thirsty Warmth Wetness

Private Member Functions

DisplayStatus  GetDisplayStatus ()
 
void  NotifierBase (NotifiersManager manager)
 
void  DisplayTendency (float delta)
 
int  CalculateTendency (float delta, float inctresholdlow, float inctresholdmed, float inctresholdhigh, float dectresholdlow, float dectresholdmed, float dectresholdhigh)
 
private void  DisplayBadge ()
 
private void  HideBadge ()
 
private void  DisplayMessage ()
 
private void  PlaySound ()
 
private void  PlayAnimation ()
 
void  OnTick ()
 
bool  IsActive ()
 
void  SetActive (bool state)
 
string  GetName ()
 
int  GetNotifierType ()
 

Private Attributes

float  m_DeltaT
 
autoptr Timer  m_Timer1
 
PlayerBase  m_Player
 
int  m_Type
 
NotifiersManager  m_Manager
 
bool  m_Active
 
private float  m_SecsSinceLastMessage
 
private float  m_SecsToMessage
 
float  m_MinPauseBetweenMessages
 
float  m_MaxPauseBetweenMessages
 
private float  m_SecsSinceLastSound
 
private float  m_SecsToSound
 
float  m_MinPauseBetweenSounds
 
float  m_MaxPauseBetweenSounds
 
private float  m_SecsSinceLastAnimation
 
private float  m_SecsToAnimation
 
float  m_MinPauseBetweenAnimations
 
float  m_MaxPauseBetweenAnimations
 
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_Diet
 
PlayerStat< float >  m_Immunity
 
PlayerStat< float >  m_Stamina
 
PlayerStat< float >  m_MaxStamina
 
ModulePlayerStatus  m_ModulePlayerStatus
 

Constructor & Destructor Documentation

void NotifierBase::NotifierBase ( NotifiersManager  manager )
private

Member Function Documentation

DisplayStatus NotifierBase::GetDisplayStatus ( )
private
void NotifierBase::DisplayTendency ( float  delta )
private
int NotifierBase::CalculateTendency ( float  delta,
float  inctresholdlow,
float  inctresholdmed,
float  inctresholdhigh,
float  dectresholdlow,
float  dectresholdmed,
float  dectresholdhigh 
)
private
private void NotifierBase::DisplayBadge ( )
private

Referenced by OnTick().

private void NotifierBase::HideBadge ( )
private

Referenced by SetActive().

private void NotifierBase::DisplayMessage ( )
private

Referenced by OnTick().

private void NotifierBase::PlaySound ( )
private

Referenced by OnTick().

private void NotifierBase::PlayAnimation ( )
private

Referenced by OnTick().

void NotifierBase::OnTick ( )
private
bool NotifierBase::IsActive ( )
private

References m_Active.

void NotifierBase::SetActive ( bool  state )
private
string NotifierBase::GetName ( )
private

References ClassName().

int NotifierBase::GetNotifierType ( )
private

References m_Type.

Member Data Documentation

float NotifierBase::m_DeltaT
private

Referenced by OnTick().

autoptr Timer NotifierBase::m_Timer1
private

Referenced by NotifierBase().

PlayerBase NotifierBase::m_Player
private
int NotifierBase::m_Type
private

Referenced by GetNotifierType().

NotifiersManager NotifierBase::m_Manager
private

Referenced by NotifierBase().

bool NotifierBase::m_Active
private
private float NotifierBase::m_SecsSinceLastMessage
private

Referenced by OnTick().

private float NotifierBase::m_SecsToMessage
private

Referenced by OnTick().

float NotifierBase::m_MinPauseBetweenMessages
private
float NotifierBase::m_MaxPauseBetweenMessages
private
private float NotifierBase::m_SecsSinceLastSound
private

Referenced by OnTick().

private float NotifierBase::m_SecsToSound
private

Referenced by OnTick().

float NotifierBase::m_MinPauseBetweenSounds
private
float NotifierBase::m_MaxPauseBetweenSounds
private
private float NotifierBase::m_SecsSinceLastAnimation
private

Referenced by OnTick().

private float NotifierBase::m_SecsToAnimation
private

Referenced by OnTick().

float NotifierBase::m_MinPauseBetweenAnimations
private
float NotifierBase::m_MaxPauseBetweenAnimations
private
PlayerStat<float> NotifierBase::m_Health
private
PlayerStat<float> NotifierBase::m_Blood
private
PlayerStat<float> NotifierBase::m_Shock
private

Referenced by NotifierBase().

PlayerStat<float> NotifierBase::m_Unconscious
private

Referenced by NotifierBase().

PlayerStat<float> NotifierBase::m_Temperature
private
PlayerStat<float> NotifierBase::m_HeatComfort
private

Referenced by NotifierBase().

PlayerStat<float> NotifierBase::m_HeatIsolation
private

Referenced by NotifierBase().

PlayerStat<float> NotifierBase::m_Tremor
private

Referenced by NotifierBase().

PlayerStat<float> NotifierBase::m_Wet
private
PlayerStat<float> NotifierBase::m_Energy
private
PlayerStat<float> NotifierBase::m_Water
private
PlayerStat<float> NotifierBase::m_Stomach
private
PlayerStat<float> NotifierBase::m_Diet
private

Referenced by NotifierBase().

PlayerStat<float> NotifierBase::m_Immunity
private

Referenced by NotifierBase().

PlayerStat<float> NotifierBase::m_Stamina
private
PlayerStat<float> NotifierBase::m_MaxStamina
private

Referenced by NotifierBase().

ModulePlayerStatus NotifierBase::m_ModulePlayerStatus
private

Referenced by NotifierBase().


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