17 int version =
pco.GetVersion();
31 else if (!
m_PCOs.Contains(version))
33 for (
int i = version;
i > 100;
i--)
46 return m_PCOs.Get(version);
array< ref PlayerStatBase > Get()
enum EPlayerStats_v100 PlayerStatsPCO_Base
bool OnStoreLoad(ParamsReadContext ctx)
ref array< ref PlayerStatBase > m_PlayerStats
void OnStoreSave(ParamsWriteContext ctx)
void RegisterStat(int id, PlayerStatBase stat)
PlayerStatBase GetStatObject(int id)
static int GenerateBloodType()
static float GetStaminaMax()
ref map< int, ref PlayerStatsPCO_Base > m_PCOs
PlayerStatsPCO_Base GetPCO(int version=-1)
void RegisterPCO(PlayerStatsPCO_Base pco)
static const float SL_ENERGY_MAX
static const float SL_WATER_MAX
override int GetVersion()
void PlayerStatsPCO_v100()
Serialization general interface. Serializer API works with: