24 m_PCOs.Insert(version, pco);
35 else if( !
m_PCOs.Contains(version))
37 for(
int i = version; i > 100; i--)
50 return m_PCOs.Get(version);
array< ref PlayerStatBase > Get()
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()
void RegisterPCO(PlayerStatsPCO_Base pco)
PlayerStatsPCO_Base GetPCO(int version=-1)
ref map< int, ref PlayerStatsPCO_Base > m_PCOs
static const float SL_WATER_MAX
static const float SL_ENERGY_MAX
void PlayerStatsPCO_v100()
override int GetVersion()
Serialization general interface. Serializer API works with:
Result for an object found in CGame.IsBoxCollidingGeometryProxy.