Dayz Build 1.29.163047, Scripts Rev. 123548
Dayz Code Explorer by Zeroy
Loading...
Searching...
No Matches
PlayerStatBase Class Reference

Protected Member Functions

float Get ()
string GetLabel ()
float GetMax ()
float GetMin ()
float GetNormalized ()
array< PlayerStatRecordGetRecords ()
int GetType ()
void Init (int id)
bool IsSynced ()
void OnAfterStoreLoad ()
void OnRPC (ParamsReadContext ctx)
bool OnStoreLoad (ParamsReadContext ctx)
void OnStoreSave (ParamsWriteContext ctx)
void SerializeValue (array< ref StatDebugObject > objects, int flags)
void SetByFloat (float value)
void SetByFloatEx (float value, string system="")
void SetPlayer (Man player)

Protected Attributes

Man m_Player
int m_Type

Detailed Description

Definition at line 1 of file playerstatbase.c.

Member Function Documentation

◆ Get()

float Get ( )
protected

◆ GetLabel()

string GetLabel ( )
protected

Referenced by SerializeValue().

◆ GetMax()

float GetMax ( )
protected

Referenced by GetNormalized().

◆ GetMin()

float GetMin ( )
protected

Referenced by GetNormalized().

◆ GetNormalized()

float GetNormalized ( )
protected

◆ GetRecords()

array< PlayerStatRecord > GetRecords ( )
protected

◆ GetType()

int GetType ( )
inlineprotected

Definition at line 21 of file playerstatbase.c.

References m_Type.

◆ Init()

void Init ( int id)
protected

Referenced by RegisterStat().

◆ IsSynced()

bool IsSynced ( )
protected

Referenced by OnRPC(), and Set().

◆ OnAfterStoreLoad()

void OnAfterStoreLoad ( )
protected

◆ OnRPC()

void OnRPC ( ParamsReadContext ctx)
protected

Referenced by OnRPC().

◆ OnStoreLoad()

bool OnStoreLoad ( ParamsReadContext ctx)
protected

◆ OnStoreSave()

void OnStoreSave ( ParamsWriteContext ctx)
protected

◆ SerializeValue()

void SerializeValue ( array< ref StatDebugObject > objects,
int flags )
protected

◆ SetByFloat()

void SetByFloat ( float value)
protected

Referenced by SetByFloatEx().

◆ SetByFloatEx()

void SetByFloatEx ( float value,
string system = "" )
protected

◆ SetPlayer()

void SetPlayer ( Man player)
inlineprotected

Definition at line 26 of file playerstatbase.c.

References m_Player.

Referenced by RegisterStat().

Field Documentation

◆ m_Player

Man m_Player
protected

Definition at line 3 of file playerstatbase.c.

Referenced by SetPlayer().

◆ m_Type

int m_Type
protected

Definition at line 5 of file playerstatbase.c.

Referenced by GetType().


The documentation for this class was generated from the following file: