DayZ Scripts
PC Stable v1.25.158593
 
Loading...
Searching...
No Matches
PlayerStats Class Reference

Private Member Functions

void PlayerStats (Man player)
 
void Init (Man player)
 
PlayerStatsPCO_Base GetPCO (int version=-1)
 
void ~PlayerStats ()
 
PlayerStatBase GetStatObject (int id)
 
void SetAllowLogs (bool enable)
 
bool GetAllowLogs ()
 
void GetDebugInfo (array< ref StatDebugObject > objects, int flags)
 
void GatherAllRecords ()
 
void SaveStats (ParamsWriteContext ctx)
 
bool LoadStats (ParamsReadContext ctx, int version)
 
void ResetAllStats ()
 

Private Attributes

ref array< ref PlayerStatBasem_PlayerStats
 
ref array< ref StatDebugObjectm_PlayerStatsDebug
 
ref PCOHandlerStats m_PCOhandler = new PCOHandlerStats()
 
ref Timer m_SyncTimer
 
Man m_Player
 
bool m_AllowLogs
 
string m_System = "Stats"
 

Constructor & Destructor Documentation

◆ PlayerStats()

void PlayerStats ( Man  player)
inlineprivate

References Init().

◆ ~PlayerStats()

void ~PlayerStats ( )
inlineprivate

Member Function Documentation

◆ GatherAllRecords()

void GatherAllRecords ( )
inlineprivate

◆ GetAllowLogs()

bool GetAllowLogs ( )
inlineprivate

References m_AllowLogs.

◆ GetDebugInfo()

void GetDebugInfo ( array< ref StatDebugObject objects,
int  flags 
)
inlineprivate

◆ GetPCO()

PlayerStatsPCO_Base GetPCO ( int  version = -1)
inlineprivate

◆ GetStatObject()

PlayerStatBase GetStatObject ( int  id)
inlineprivate

References GetPCO().

◆ Init()

void Init ( Man  player)
inlineprivate

References m_Player.

◆ LoadStats()

bool LoadStats ( ParamsReadContext  ctx,
int  version 
)
inlineprivate

References GetPCO().

◆ ResetAllStats()

void ResetAllStats ( )
inlineprivate

References GetPCO().

◆ SaveStats()

void SaveStats ( ParamsWriteContext  ctx)
inlineprivate

◆ SetAllowLogs()

void SetAllowLogs ( bool  enable)
inlineprivate

References m_AllowLogs.

Field Documentation

◆ m_AllowLogs

bool m_AllowLogs
private

Referenced by GetAllowLogs(), and SetAllowLogs().

◆ m_PCOhandler

ref PCOHandlerStats m_PCOhandler = new PCOHandlerStats()
private

Referenced by GetPCO().

◆ m_Player

Man m_Player
private

Referenced by Init().

◆ m_PlayerStats

ref array<ref PlayerStatBase> m_PlayerStats
private

◆ m_PlayerStatsDebug

ref array<ref StatDebugObject> m_PlayerStatsDebug
private

◆ m_SyncTimer

ref Timer m_SyncTimer
private

◆ m_System

string m_System = "Stats"
private

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