DayZ 1.24
|
Go to the source code of this file.
Classes | |
class | PCOHandlerStats |
class | PlayerStatsPCO_Base |
class | PlayerStatsPCO_v115 |
Enumerations | |
enum | EPlayerStats_v100 { HEATCOMFORT , TREMOR , WET , ENERGY , WATER , STOMACH_SOLID , STOMACH_ENERGY , STOMACH_WATER , DIET , STAMINA , SPECIALTY , BLOODTYPE } |
enum | EPlayerStats_v101 { HEATCOMFORT , TREMOR , WET , ENERGY , WATER , STOMACH_SOLID , STOMACH_ENERGY , STOMACH_WATER , DIET , STAMINA , SPECIALTY , BLOODTYPE , TOXICITY } |
enum | EPlayerStats_v106 { HEATCOMFORT , TREMOR , WET , ENERGY , WATER , DIET , STAMINA , SPECIALTY , BLOODTYPE , TOXICITY } |
enum | EPlayerStats_v115 { HEATCOMFORT , TREMOR , WET , ENERGY , WATER , DIET , STAMINA , SPECIALTY , BLOODTYPE , TOXICITY , HEATBUFFER } |
enum | EPlayerStats_current : EPlayerStats_v115 |
Functions | |
void | PCOHandlerStats () |
void | RegisterPCO (PlayerStatsPCO_Base pco) |
PlayerStatsPCO_Base | GetPCO (int version=-1) |
void | Init () |
Launched from 'DayZGame.DeferredInit' to make earlier access, use, and updates impossible (downside of a non-static system) | |
int | GetVersion () |
PlayerStatBase | GetStatObject (int id) |
void | RegisterStat (int id, PlayerStatBase stat) |
void | OnStoreSave (ParamsWriteContext ctx) |
bool | OnStoreLoad (ParamsReadContext ctx) |
array< ref PlayerStatBase > | Get () |
void | ResetAllStats () |
Variables | |
ref map< int, ref PlayerStatsPCO_Base > | m_PCOs = new map<int, ref PlayerStatsPCO_Base> |
int | m_HighestVersion |
ref array< ref PlayerStatBase > | m_PlayerStats = new array<ref PlayerStatBase> |
enum EPlayerStats_v100 | PlayerStatsPCO_Base |
Definition at line 285 of file PlayerStatsPCO.c.
Enumerator | |
---|---|
HEATCOMFORT | |
TREMOR | |
WET | |
ENERGY | |
WATER | |
STOMACH_SOLID | |
STOMACH_ENERGY | |
STOMACH_WATER | |
DIET | |
STAMINA | |
SPECIALTY | |
BLOODTYPE |
Definition at line 110 of file PlayerStatsPCO.c.
Enumerator | |
---|---|
HEATCOMFORT | |
TREMOR | |
WET | |
ENERGY | |
WATER | |
STOMACH_SOLID | |
STOMACH_ENERGY | |
STOMACH_WATER | |
DIET | |
STAMINA | |
SPECIALTY | |
BLOODTYPE | |
TOXICITY |
Definition at line 161 of file PlayerStatsPCO.c.
Enumerator | |
---|---|
HEATCOMFORT | |
TREMOR | |
WET | |
ENERGY | |
WATER | |
DIET | |
STAMINA | |
SPECIALTY | |
BLOODTYPE | |
TOXICITY | |
HEATBUFFER |
Definition at line 242 of file PlayerStatsPCO.c.
array< ref PlayerStatBase > Get | ( | ) |
Definition at line 95 of file PlayerStatsPCO.c.
References m_PlayerStats.
Referenced by array< Class T >::Debug(), set< Class T >::Debug(), array< Class T >::DifferentAtPosition(), array< Class T >::GetRandomElement(), array< Class T >::Invert(), Link< Class T >::IsNull(), array< ref TSelectableActionInfo >::IsSameAs(), HudDebugWinBase::OnChange(), PluginBase::OnRPCStatSet(), ManBase::OnSelectPlayer(), Link< Class T >::Ptr(), UIScriptedMenu::RandomizeCharacter(), Link< Class T >::Release(), array< ref CallQueueContext >::RemoveCalls(), map< Class TKey, Class TValue >::ReplaceKey(), PluginBase::SendRPCStats(), array< Class T >::SwapItems(), array< ref CallQueueContext >::Tick(), CallQueue::Tick(), array< TimerBase >::Tick(), LayoutHolder::UnfocusAll(), IconsContainer::UnfocusAll(), AttachmentCategoriesRow::UnfocusAll(), ComponentEnergyManager::UnplugAllDevices(), PluginBase::UpdateStatsLocal(), and array< TimerBase >::~TimerQueue().
PlayerStatsPCO_Base PlayerStatsPCO_Base::GetPCO | ( | int | version = -1 | ) |
Definition at line 75 of file PlayerStatsPCO.c.
PlayerStatBase GetStatObject | ( | int | id | ) |
Definition at line 68 of file PlayerStatsPCO.c.
References m_PlayerStats.
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().
int GetVersion | ( | ) |
Definition at line 61 of file PlayerStatsPCO.c.
void Init | ( | ) |
Launched from 'DayZGame.DeferredInit' to make earlier access, use, and updates impossible (downside of a non-static system)
pre-init arrays
Definition at line 120 of file DayZGame.c.
bool OnStoreLoad | ( | ParamsReadContext | ctx | ) |
Definition at line 85 of file PlayerStatsPCO.c.
References m_PlayerStats.
void OnStoreSave | ( | ParamsWriteContext | ctx | ) |
void PlayerStatsPCO_Base::PCOHandlerStats | ( | ) |
Definition at line 58 of file PlayerStatsPCO.c.
void PlayerStatsPCO_Base::RegisterPCO | ( | PlayerStatsPCO_Base | pco | ) |
Definition at line 65 of file PlayerStatsPCO.c.
void RegisterStat | ( | int | id, |
PlayerStatBase | stat ) |
Definition at line 73 of file PlayerStatsPCO.c.
Referenced by PlayerStatsPCO_Base::Init().
void ResetAllStats | ( | ) |
Definition at line 100 of file PlayerStatsPCO.c.
References PlayerStatsPCO_Base::Init(), and m_PlayerStats.
int m_HighestVersion |
Definition at line 56 of file PlayerStatsPCO.c.
ref map<int, ref PlayerStatsPCO_Base> m_PCOs = new map<int, ref PlayerStatsPCO_Base> |
Definition at line 55 of file PlayerStatsPCO.c.
ref array<ref PlayerStatBase> m_PlayerStats = new array<ref PlayerStatBase> |
Definition at line 66 of file PlayerStatsPCO.c.
Referenced by Get(), ManBase::GetPlayerStats(), GetStatObject(), ManBase::Init(), OnStoreLoad(), OnStoreSave(), and ResetAllStats().
class PCOHandlerStats PlayerStatsPCO_Base |
Definition at line 1 of file PlayerStatsPCO.c.