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

◆ ProcessVariables()

override void ProcessVariables ( float elapsedTime)
protected

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

4660 {
4661 bool hasParent = false, hasRootAsPlayer = false;
4662 ItemBase refParentIB;
4663
4664 bool wwtu = g_Game.IsWorldWetTempUpdateEnabled();
4665 bool foodDecay = g_Game.IsFoodDecayEnabled();
4666
4667 if (wwtu || foodDecay)
4668 {
4669 bool processWetness = wwtu && CanHaveWetness();
4670 bool processTemperature = wwtu && CanHaveTemperature();
4671 bool processDecay = foodDecay && CanDecay() && CanProcessDecay();
4672
4673 if (processWetness || processTemperature || processDecay)
4674 {
4675 HierarchyCheck(hasParent, hasRootAsPlayer, refParentIB);
4676
4677 if (processWetness)
4678 ProcessItemWetness(elapsedTime, hasParent, hasRootAsPlayer, refParentIB);
4679
4680 if (processTemperature)
4681 ProcessItemTemperature(elapsedTime, hasParent, hasRootAsPlayer, refParentIB);
4682
4683 if (processDecay)
4684 ProcessDecay(elapsedTime, hasRootAsPlayer);
4685 }
4686 }
4687 }
DayZGame g_Game
Определения DayZGame.c:4074
override bool CanHaveTemperature()
Определения FireplaceBase.c:575
void ProcessDecay(float delta, bool hasRootAsPlayer)
Определения ItemBase.c:4629
bool CanDecay()
Определения ItemBase.c:4634
void ProcessItemWetness(float delta, bool hasParent, bool hasRootAsPlayer, ItemBase refParentIB)
Определения ItemBase.c:4566
bool CanHaveWetness()
Определения ItemBase.c:4647
bool CanProcessDecay()
Определения ItemBase.c:4640
void HierarchyCheck(out bool hasParent, out bool hasRootAsPlayer, out ItemBase refParentIB)
Определения ItemBase.c:4612
void ProcessItemTemperature(float delta, bool hasParent, bool hasRootAsPlayer, ItemBase refParentIB)
Определения ItemBase.c:4592

Перекрестные ссылки CanDecay(), CanHaveTemperature(), CanHaveWetness(), CanProcessDecay(), g_Game, HierarchyCheck(), ProcessDecay(), ProcessItemTemperature() и ProcessItemWetness().

Используется в Entity::OnCEIterate().