PC Stable Documentation
 
All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
Loading...
Searching...
No Matches
PlayerStatBase Class Reference

Private Member Functions

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

Private Attributes

protected Man m_Player
 
int m_Type
 

Member Function Documentation

◆ Get()

float Get ( )
private

◆ GetLabel()

string GetLabel ( )
private

Referenced by SerializeValue().

◆ GetMax()

float GetMax ( )
private

Referenced by GetNormalized().

◆ GetMin()

float GetMin ( )
private

Referenced by GetNormalized().

◆ GetNormalized()

float GetNormalized ( )
private

◆ GetRecords()

array< PlayerStatRecord > GetRecords ( )
private

◆ GetType()

int GetType ( )
inlineprivate

References m_Type.

◆ Init()

void Init ( int  id)
private

Referenced by RegisterStat().

◆ IsSynced()

bool IsSynced ( )
private

Referenced by OnRPC(), and Set().

◆ OnAfterStoreLoad()

void OnAfterStoreLoad ( )
private

◆ OnRPC()

void OnRPC ( ParamsReadContext  ctx)
private

Referenced by OnRPC().

◆ OnStoreLoad()

bool OnStoreLoad ( ParamsReadContext  ctx)
private

◆ OnStoreSave()

void OnStoreSave ( ParamsWriteContext  ctx)
private

◆ SerializeValue()

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

◆ SetByFloat()

void SetByFloat ( float  value)
private

Referenced by SetByFloatEx().

◆ SetByFloatEx()

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

◆ SetPlayer()

void SetPlayer ( Man  player)
inlineprivate

References m_Player.

Referenced by RegisterStat().

Field Documentation

◆ m_Player

protected Man m_Player
private

Referenced by SetPlayer().

◆ m_Type

int m_Type
private

Referenced by GetType(), and Set().


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