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

◆ OnStoreSaveCustom()

void OnStoreSaveCustom ( ParamsWriteContext ctx)
private

См. определение в файле PlantBase.c строка 371

372 {
373 ctx.Write( m_SprayUsage );
374
376
378
380
382
384
386
388
389 ctx.Write( m_CropsCount );
390
391 ctx.Write( m_CropsType );
392
394
395 ctx.Write( m_PlantState );
396
398
400
401 ctx.Write( m_IsInfested );
402
403 ctx.Write( m_SprayQuantity );
404
405 bool saveBool = false; // deprec
406 ctx.Write( saveBool );
407
408 float saveFloat = 0.0; // deprec
409 ctx.Write( saveFloat );
410
411 saveFloat = 0.0;
412 if (m_PlantState == EPlantState.MATURE)
413 {
414 saveFloat = m_TimeTracker;
415 }
416 ctx.Write( saveFloat );
417
418 saveFloat = 0.0;
419 if (m_PlantState == EPlantState.SPOILED)
420 {
421 saveFloat = m_TimeTracker;
422 }
423 ctx.Write( saveFloat );
424
425 saveFloat = 0.0;
426 if (m_PlantState == EPlantState.DRY)
427 {
428 saveFloat = m_TimeTracker;
429 }
430 ctx.Write( saveFloat );
431 }
float m_TimeTracker
Определения PlantBase.c:37
float m_InfestationChance
Определения PlantBase.c:14
int m_PlantStateIndex
Определения PlantBase.c:22
enum EPlantState m_SprayUsage
float m_PlantMaterialMultiplier
Определения PlantBase.c:20
EPlantState m_PlantState
Определения PlantBase.c:24
float m_StateChangeTime
Определения PlantBase.c:34
EPlantState
Определения PlantBase.c:2
int m_CropsCount
Определения PlantBase.c:17
int m_SpoiledRemoveTime
Определения PlantBase.c:31
float m_SprayQuantity
Определения PlantBase.c:27
int m_GrowthStagesCount
Определения PlantBase.c:16
float m_CurrentPlantMaterialQuantity
Определения PlantBase.c:23
string m_CropsType
Определения PlantBase.c:19
bool m_IsInfested
Определения PlantBase.c:26
int m_DeleteDryPlantTime
Определения PlantBase.c:30
int m_SpoilAfterFullMaturityTime
Определения PlantBase.c:33
int m_FullMaturityTime
Определения PlantBase.c:32
proto bool Write(void value_out)

Перекрестные ссылки m_CropsCount, m_CropsType, m_CurrentPlantMaterialQuantity, m_DeleteDryPlantTime, m_FullMaturityTime, m_GrowthStagesCount, m_InfestationChance, m_IsInfested, m_PlantMaterialMultiplier, m_PlantState, m_PlantStateIndex, m_SpoilAfterFullMaturityTime, m_SpoiledRemoveTime, m_SprayQuantity, m_SprayUsage, m_StateChangeTime, m_TimeTracker и Serializer::Write().

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