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

#include <PlayerStats.h>

Inheritance diagram for PlayerStats:
MessageReceiverBase

Private Member Functions

void  PlayerStats (Man player)
 
void  ~PlayerStats ()
 
void  SaveStats (ParamsWriteContext ctx)
 
void  LoadStats (ParamsReadContext ctx)
 
void  SyncVars ()
 
void  OnRPC (ParamsReadContext ctx)
 
array< PlayerStatBase Get ()
 

Private Attributes

autoptr array< PlayerStatBase m_PlayerStats
 
autoptr Timer  m_SyncTimer
 
Man  m_Player
 
autoptr PlayerStat< float >  m_Health
 
autoptr PlayerStat< float >  m_Blood
 
autoptr PlayerStat< float >  m_Shock
 
autoptr PlayerStat< float >  m_Unconscious
 
autoptr PlayerStat< float >  m_Temperature
 
autoptr PlayerStat< float >  m_HeatComfort
 
autoptr PlayerStat< float >  m_HeatIsolation
 
autoptr PlayerStat< float >  m_Tremor
 
autoptr PlayerStat< float >  m_Wet
 
autoptr PlayerStat< float >  m_Energy
 
autoptr PlayerStat< float >  m_Water
 
autoptr PlayerStat< float >  m_Stomach
 
autoptr PlayerStat< float >  m_StomachEnergy
 
autoptr PlayerStat< float >  m_StomachWater
 
autoptr PlayerStat< float >  m_Diet
 
autoptr PlayerStat< float >  m_Immunity
 
autoptr PlayerStat< float >  m_Stamina
 
autoptr PlayerStat< float >  m_MaxStamina
 
autoptr PlayerStat< int >  m_BloodType
 

Constructor & Destructor Documentation

void PlayerStats::PlayerStats ( Man  player )
private
void PlayerStats::~PlayerStats ( )
private

Member Function Documentation

void PlayerStats::SaveStats ( ParamsWriteContext  ctx )
private

References m_PlayerStats.

Referenced by PlayerBase::OnStoreSave().

void PlayerStats::LoadStats ( ParamsReadContext  ctx )
private

References m_PlayerStats.

Referenced by PlayerBase::OnStoreLoad().

void PlayerStats::SyncVars ( )
private
void PlayerStats::OnRPC ( ParamsReadContext  ctx )
private
array< PlayerStatBase > PlayerStats::Get ( )
private

References m_PlayerStats.

Referenced by PlayerBase::GetStatsArray().

Member Data Documentation

autoptr array<PlayerStatBase> PlayerStats::m_PlayerStats
private
autoptr Timer PlayerStats::m_SyncTimer
private
Man PlayerStats::m_Player
private

Referenced by PlayerStats(), and SyncVars().

autoptr PlayerStat<float> PlayerStats::m_Health
private
autoptr PlayerStat<float> PlayerStats::m_Blood
private
autoptr PlayerStat<float> PlayerStats::m_Shock
private
autoptr PlayerStat<float> PlayerStats::m_Unconscious
private
autoptr PlayerStat<float> PlayerStats::m_Temperature
private
autoptr PlayerStat<float> PlayerStats::m_HeatComfort
private
autoptr PlayerStat<float> PlayerStats::m_HeatIsolation
private
autoptr PlayerStat<float> PlayerStats::m_Tremor
private
autoptr PlayerStat<float> PlayerStats::m_Wet
private
autoptr PlayerStat<float> PlayerStats::m_Energy
private
autoptr PlayerStat<float> PlayerStats::m_Water
private
autoptr PlayerStat<float> PlayerStats::m_Stomach
private
autoptr PlayerStat<float> PlayerStats::m_StomachEnergy
private
autoptr PlayerStat<float> PlayerStats::m_StomachWater
private
autoptr PlayerStat<float> PlayerStats::m_Diet
private
autoptr PlayerStat<float> PlayerStats::m_Immunity
private
autoptr PlayerStat<float> PlayerStats::m_Stamina
private
autoptr PlayerStat<float> PlayerStats::m_MaxStamina
private
autoptr PlayerStat<int> PlayerStats::m_BloodType
private

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