DayZ 1.26
DayZ Explorer by KGB
Загрузка...
Поиск...
Не найдено
Класс PlayerStatsPCO_Base

Закрытые члены

override int GetVersion ()
 
override void Init ()
 
void PlayerStatsPCO_v100 ()
 
override int GetVersion ()
 
override void Init ()
 
override int GetVersion ()
 
override void Init ()
 
override int GetVersion ()
 
override void Init ()
 

Подробное описание

Методы

◆ GetVersion() [1/4]

override int GetVersion ( )
inlineprivate
156 {
157 return 100;
158 }

◆ GetVersion() [2/4]

override int GetVersion ( )
inlineprivate
207 {
208 return 101;
209 }

◆ GetVersion() [3/4]

override int GetVersion ( )
inlineprivate
247 {
248 return 106;
249 }

◆ GetVersion() [4/4]

override int GetVersion ( )
inlineprivate
285 {
286 return 115;
287 }

◆ Init() [1/4]

override void Init ( )
inlineprivate
161 {
162 RegisterStat(EPlayerStats_v100.HEATCOMFORT, new PlayerStat<float> (-1, 1, 0, "HeatComfort", EPSstatsFlags.EMPTY) );
163 RegisterStat(EPlayerStats_v100.TREMOR, new PlayerStat<float> (0, 1, 0, "Tremor", EPSstatsFlags.EMPTY) );
164 RegisterStat(EPlayerStats_v100.WET, new PlayerStat<int> (0, 1, 0, "Wet", EPSstatsFlags.EMPTY) );
165 RegisterStat(EPlayerStats_v100.ENERGY, new PlayerStat<float> (0, 20000, 600, "Energy", EPSstatsFlags.EMPTY) );
166 RegisterStat(EPlayerStats_v100.WATER, new PlayerStat<float> (0, 5000, 500, "Water", EPSstatsFlags.EMPTY) );
167 RegisterStat(EPlayerStats_v100.STOMACH_SOLID, new PlayerStat<float> (0, 5000, 0, "StomachSolid", EPSstatsFlags.EMPTY) );
168 RegisterStat(EPlayerStats_v100.STOMACH_ENERGY, new PlayerStat<float> (0, 40000, 0, "StomachEnergy", EPSstatsFlags.EMPTY) );
169 RegisterStat(EPlayerStats_v100.STOMACH_WATER, new PlayerStat<float> (0, 5000, 0, "StomachWater", EPSstatsFlags.EMPTY) );
170 RegisterStat(EPlayerStats_v100.DIET, new PlayerStat<float> (0, 5000, 2500, "Diet", EPSstatsFlags.EMPTY) );
172 RegisterStat(EPlayerStats_v100.SPECIALTY, new PlayerStat<float> (-1, 1, 0, "Specialty", EPSstatsFlags.EMPTY) );
173 RegisterStat(EPlayerStats_v100.BLOODTYPE, new PlayerStat<int> (0, 128, BloodTypes.GenerateBloodType(), "BloodType", EPSstatsFlags.EMPTY) );
174 }
EPSstatsFlags
Definition PlayerStats.c:2
EPlayerStats_v100
Definition PlayerStatsPCO.c:136
void RegisterStat(int id, PlayerStatBase stat)
Definition PlayerStatsPCO.c:84
Definition BloodType.c:2
static int GenerateBloodType()
Definition BloodType.c:7
Definition constants.c:638
Definition EntityAI.c:95
const float STAMINA_MAX
Definition constants.c:689

Перекрестные ссылки BloodTypes::GenerateBloodType(), RegisterStat() и GameConstants::STAMINA_MAX.

Используется в ResetAllStats().

◆ Init() [2/4]

override void Init ( )
inlineprivate
212 {
213 RegisterStat(EPlayerStats_v101.HEATCOMFORT, new PlayerStat<float> (-1, 1, 0, "HeatComfort", EPSstatsFlags.EMPTY) );
214 RegisterStat(EPlayerStats_v101.TREMOR, new PlayerStat<float> (0, 1, 0, "Tremor", EPSstatsFlags.EMPTY) );
215 RegisterStat(EPlayerStats_v101.WET, new PlayerStat<int> (0, 1, 0, "Wet", EPSstatsFlags.EMPTY) );
216 RegisterStat(EPlayerStats_v101.ENERGY, new PlayerStat<float> (0, 20000, 600, "Energy", EPSstatsFlags.EMPTY) );
217 RegisterStat(EPlayerStats_v101.WATER, new PlayerStat<float> (0, 5000, 500, "Water", EPSstatsFlags.EMPTY) );
218 RegisterStat(EPlayerStats_v101.STOMACH_SOLID, new PlayerStat<float> (0, 5000, 0, "StomachSolid", EPSstatsFlags.EMPTY) );
219 RegisterStat(EPlayerStats_v101.STOMACH_ENERGY, new PlayerStat<float> (0, 40000, 0, "StomachEnergy", EPSstatsFlags.EMPTY) );
220 RegisterStat(EPlayerStats_v101.STOMACH_WATER, new PlayerStat<float> (0, 5000, 0, "StomachWater", EPSstatsFlags.EMPTY) );
221 RegisterStat(EPlayerStats_v101.DIET, new PlayerStat<float> (0, 5000, 2500, "Diet", EPSstatsFlags.EMPTY) );
223 RegisterStat(EPlayerStats_v101.SPECIALTY, new PlayerStat<float> (-1, 1, 0, "Specialty", EPSstatsFlags.EMPTY) );
224 RegisterStat(EPlayerStats_v101.BLOODTYPE, new PlayerStat<int> (0, 128, BloodTypes.GenerateBloodType(), "BloodType", EPSstatsFlags.EMPTY) );
225 RegisterStat(EPlayerStats_v101.TOXICITY, new PlayerStat<float> (0, 100, 0, "Toxicity", EPSstatsFlags.EMPTY) );
226 }
EPlayerStats_v101
Definition PlayerStatsPCO.c:187

Перекрестные ссылки BloodTypes::GenerateBloodType(), RegisterStat() и GameConstants::STAMINA_MAX.

◆ Init() [3/4]

override void Init ( )
inlineprivate
252 {
253 RegisterStat(EPlayerStats_v106.HEATCOMFORT, new PlayerStat<float> (-1, 1, 0, "HeatComfort", EPSstatsFlags.EMPTY) );
254 RegisterStat(EPlayerStats_v106.TREMOR, new PlayerStat<float> (0, 1, 0, "Tremor", EPSstatsFlags.EMPTY) );
255 RegisterStat(EPlayerStats_v106.WET, new PlayerStat<int> (0, 1, 0, "Wet", EPSstatsFlags.EMPTY) );
256 RegisterStat(EPlayerStats_v106.ENERGY, new PlayerStat<float> (0, 20000, 600, "Energy", EPSstatsFlags.EMPTY) );
257 RegisterStat(EPlayerStats_v106.WATER, new PlayerStat<float> (0, 5000, 650, "Water", EPSstatsFlags.EMPTY) );
258 RegisterStat(EPlayerStats_v106.DIET, new PlayerStat<float> (0, 5000, 2500, "Diet", EPSstatsFlags.EMPTY) );
260 RegisterStat(EPlayerStats_v106.SPECIALTY, new PlayerStat<float> (-1, 1, 0, "Specialty", EPSstatsFlags.EMPTY) );
261 RegisterStat(EPlayerStats_v106.BLOODTYPE, new PlayerStat<int> (0, 128, BloodTypes.GenerateBloodType(), "BloodType", EPSstatsFlags.EMPTY) );
262 RegisterStat(EPlayerStats_v106.TOXICITY, new PlayerStat<float> (0, 100, 0, "Toxicity", EPSstatsFlags.EMPTY) );
263 }
EPlayerStats_v106
Definition PlayerStatsPCO.c:231

Перекрестные ссылки BloodTypes::GenerateBloodType(), RegisterStat() и GameConstants::STAMINA_MAX.

◆ Init() [4/4]

override void Init ( )
inlineprivate
290 {
291 RegisterStat(EPlayerStats_v115.HEATCOMFORT, new PlayerStat<float> (-1, 1, 0, "HeatComfort", EPSstatsFlags.EMPTY) );
292 RegisterStat(EPlayerStats_v115.TREMOR, new PlayerStat<float> (0, 1, 0, "Tremor", EPSstatsFlags.EMPTY) );
293 RegisterStat(EPlayerStats_v115.WET, new PlayerStat<int> (0, 1, 0, "Wet", EPSstatsFlags.EMPTY) );
296 RegisterStat(EPlayerStats_v115.DIET, new PlayerStat<float> (0, 5000, 2500, "Diet", EPSstatsFlags.EMPTY) );
298 RegisterStat(EPlayerStats_v115.SPECIALTY, new PlayerStat<float> (-1, 1, 0, "Specialty", EPSstatsFlags.EMPTY) );
299 RegisterStat(EPlayerStats_v115.BLOODTYPE, new PlayerStat<int> (0, 128, BloodTypes.GenerateBloodType(), "BloodType", EPSstatsFlags.EMPTY) );
300 RegisterStat(EPlayerStats_v115.TOXICITY, new PlayerStat<float> (0, 100, 0, "Toxicity", EPSstatsFlags.EMPTY) );
301 RegisterStat(EPlayerStats_v115.HEATBUFFER, new PlayerStat<float> (-30, 30, 0, "HeatBuffer", EPSstatsFlags.SYNCED) );
302 }
EPlayerStats_v115
Definition PlayerStatsPCO.c:268
Definition CfgGameplayHandler.c:2
static float GetStaminaMax()
Definition CfgGameplayHandler.c:207
Definition PlayerConstants.c:2
static const float SL_WATER_MAX
Definition PlayerConstants.c:45
static const float SL_ENERGY_MAX
Definition PlayerConstants.c:39

Перекрестные ссылки BloodTypes::GenerateBloodType(), CfgGameplayHandler::GetStaminaMax(), RegisterStat(), PlayerConstants::SL_ENERGY_MAX и PlayerConstants::SL_WATER_MAX.

◆ PlayerStatsPCO_v100()

void PlayerStatsPCO_v100 ( )
inlineprivate
177 {
178
179 }

Объявления и описания членов класса находятся в файле: