Dayz Explorer 1.28.160049
Loading...
Searching...
No Matches
playerstats.c File Reference

Go to the source code of this file.

Enumerations

enum  EPSstatsFlags { EMPTY = 0 , SYNCED = 1 }
 

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 ()
 
void OnRPC (ParamsReadContext ctx)
 
void OnAfterStoreLoad ()
 

Variables

enum EPSstatsFlags m_PlayerStats
 
ref array< ref StatDebugObjectm_PlayerStatsDebug
 
ref PCOHandlerStats m_PCOhandler
 
ref Timer m_SyncTimer
 
Man m_Player
 
bool m_AllowLogs
 
string m_System = "Stats"
 

Enumeration Type Documentation

◆ EPSstatsFlags

Enumerator
EMPTY 
SYNCED 

Definition at line 1 of file playerstats.c.

Function Documentation

◆ GatherAllRecords()

void GatherAllRecords ( )

Definition at line 74 of file playerstats.c.

◆ GetAllowLogs()

bool GetAllowLogs ( )

Definition at line 59 of file playerstats.c.

◆ GetDebugInfo()

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

Definition at line 64 of file playerstats.c.

◆ GetPCO()

PlayerStatsPCO_Base GetPCO ( int version = -1)

Definition at line 30 of file playerstats.c.

◆ GetStatObject()

PlayerStatBase GetStatObject ( int id)

Definition at line 41 of file playerstats.c.

◆ Init()

void Init ( Man player)

Definition at line 25 of file playerstats.c.

◆ LoadStats()

bool LoadStats ( ParamsReadContext ctx,
int version )

Definition at line 115 of file playerstats.c.

◆ OnAfterStoreLoad()

void OnAfterStoreLoad ( )

Definition at line 140 of file playerstats.c.

◆ OnRPC()

void OnRPC ( ParamsReadContext ctx)

Definition at line 135 of file playerstats.c.

◆ PlayerStats()

void PlayerStats ( Man player)

Definition at line 19 of file playerstats.c.

◆ ResetAllStats()

void ResetAllStats ( )

Definition at line 130 of file playerstats.c.

◆ SaveStats()

void SaveStats ( ParamsWriteContext ctx)

Definition at line 99 of file playerstats.c.

◆ SetAllowLogs()

void SetAllowLogs ( bool enable)

Definition at line 54 of file playerstats.c.

◆ ~PlayerStats()

void ~PlayerStats ( )

Definition at line 35 of file playerstats.c.

Variable Documentation

◆ m_AllowLogs

bool m_AllowLogs

Definition at line 16 of file playerstats.c.

◆ m_PCOhandler

ref PCOHandlerStats m_PCOhandler

Definition at line 12 of file playerstats.c.

◆ m_Player

Man m_Player

Definition at line 15 of file playerstats.c.

◆ m_PlayerStats

enum EPSstatsFlags m_PlayerStats

◆ m_PlayerStatsDebug

ref array<ref StatDebugObject> m_PlayerStatsDebug

Definition at line 10 of file playerstats.c.

◆ m_SyncTimer

ref Timer m_SyncTimer

Definition at line 14 of file playerstats.c.

◆ m_System

string m_System = "Stats"

Definition at line 17 of file playerstats.c.