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 StatDebugObject > | m_PlayerStatsDebug |
| ref PCOHandlerStats | m_PCOhandler |
| ref Timer | m_SyncTimer |
| Man | m_Player |
| bool | m_AllowLogs |
| string | m_System = "Stats" |
| enum EPSstatsFlags |
| void GatherAllRecords | ( | ) |
| bool GetAllowLogs | ( | ) |
References m_AllowLogs.
| void GetDebugInfo | ( | array< ref StatDebugObject > | objects, |
| int | flags | ||
| ) |
| PlayerStatsPCO_Base GetPCO | ( | int | version = -1 | ) |
References PCOHandlerStats::GetPCO(), and m_PCOhandler.
Referenced by GetStatObject(), LoadStats(), OnAfterStoreLoad(), OnRPC(), ResetAllStats(), and SaveStats().
| PlayerStatBase GetStatObject | ( | int | id | ) |
References GetPCO().
Referenced by ManBase::GetStatBloodType(), ManBase::GetStatDiet(), ManBase::GetStatEnergy(), ManBase::GetStatHeatBuffer(), ManBase::GetStatHeatComfort(), ManBase::GetStatSpecialty(), ManBase::GetStatStamina(), ManBase::GetStatToxicity(), ManBase::GetStatTremor(), ManBase::GetStatWater(), and ManBase::GetStatWet().
| void Init | ( | Man | player | ) |
References m_Player.
| bool LoadStats | ( | ParamsReadContext | ctx, |
| int | version | ||
| ) |
References GetPCO().
Referenced by ManBase::OnStoreLoad().
| void OnAfterStoreLoad | ( | ) |
References GetPCO().
| void OnRPC | ( | ParamsReadContext | ctx | ) |
References GetPCO().
| void PlayerStats | ( | Man | player | ) |
References Init(), and m_PCOhandler.
Referenced by ManBase::Init().
| void ResetAllStats | ( | ) |
References GetPCO().
| void SaveStats | ( | ParamsWriteContext | ctx | ) |
References GetGame(), GetPCO(), and CGame::SaveVersion().
| void SetAllowLogs | ( | bool | enable | ) |
References m_AllowLogs.
| void ~PlayerStats | ( | ) |
| bool m_AllowLogs |
Referenced by GetAllowLogs(), and SetAllowLogs().
| ref PCOHandlerStats m_PCOhandler |
Referenced by GetPCO(), and PlayerStats().
| Man m_Player |
| enum EPSstatsFlags m_PlayerStats |
Referenced by ManBase::GetPlayerStats(), and ManBase::Init().
| ref array<ref StatDebugObject> m_PlayerStatsDebug |
| ref Timer m_SyncTimer |
| string m_System = "Stats" |