DayZ Enforce
Script API
Private Member Functions | Private Attributes | List of all members
PlayerStat< class T > Class Reference

#include <PlayerStatBase.h>

Inheritance diagram for PlayerStat< class T >:
PlayerStatBase

Private Member Functions

void  PlayerStat (T min, T max, T init, string label, bool synced)
 
bool  IsSynced ()
 
void  Set (T value)
 
void  SetByFloat (float value)
 
void  SetByParam (Param param)
 
void  Add (T value)
 
float  Get ()
 
string  GetLabel ()
 
float  GetMax ()
 
float  GetMin ()
 
float  GetNormalized ()
 
void  OnStoreSave (ParamsWriteContext ctx)
 
void  OnStoreLoad (ParamsReadContext ctx)
 

Private Attributes

protected T  m_MinValue
 
protected T  m_MaxValue
 
protected T  m_Value
 
protected string  m_ValueLabel
 
Param1< T >  p1
 

Constructor & Destructor Documentation

void PlayerStat< class T >::PlayerStat ( min,
max,
init,
string  label,
bool  synced 
)
private

Member Function Documentation

bool PlayerStat< class T >::IsSynced ( )
private
void PlayerStat< class T >::Set ( value )
private
void PlayerStat< class T >::SetByFloat ( float  value )
private
void PlayerStat< class T >::SetByParam ( Param  param )
private
void PlayerStat< class T >::Add ( value )
private
float PlayerStat< class T >::Get ( )
private
string PlayerStat< class T >::GetLabel ( )
private
float PlayerStat< class T >::GetMax ( )
private
float PlayerStat< class T >::GetMin ( )
private
float PlayerStat< class T >::GetNormalized ( )
private

References PlayerStatBase::Get().

void PlayerStat< class T >::OnStoreSave ( ParamsWriteContext  ctx )
private
void PlayerStat< class T >::OnStoreLoad ( ParamsReadContext  ctx )
private

Member Data Documentation

protected T PlayerStat< class T >::m_MinValue
private
protected T PlayerStat< class T >::m_MaxValue
private
protected T PlayerStat< class T >::m_Value
private
protected string PlayerStat< class T >::m_ValueLabel
private
Param1<T> PlayerStat< class T >::p1
private

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