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

◆ ProcessVariables()

override void InventoryItem::ProcessVariables ( )
inlineprotected

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

4659 {
4660 bool hasParent = false, hasRootAsPlayer = false;
4661 ItemBase refParentIB;
4662
4663 bool wwtu = g_Game.IsWorldWetTempUpdateEnabled();
4664 bool foodDecay = g_Game.IsFoodDecayEnabled();
4665
4666 if (wwtu || foodDecay)
4667 {
4668 bool processWetness = wwtu && CanHaveWetness();
4669 bool processTemperature = wwtu && CanHaveTemperature();
4670 bool processDecay = foodDecay && CanDecay() && CanProcessDecay();
4671
4672 if (processWetness || processTemperature || processDecay)
4673 {
4674 HierarchyCheck(hasParent, hasRootAsPlayer, refParentIB);
4675
4676 if (processWetness)
4677 ProcessItemWetness(m_ElapsedSinceLastUpdate, hasParent, hasRootAsPlayer, refParentIB);
4678
4679 if (processTemperature)
4680 ProcessItemTemperature(m_ElapsedSinceLastUpdate, hasParent, hasRootAsPlayer, refParentIB);
4681
4682 if (processDecay)
4683 ProcessDecay(m_ElapsedSinceLastUpdate, hasRootAsPlayer);
4684 }
4685 }
4686 }
DayZGame g_Game
Определения DayZGame.c:3942
override bool CanHaveTemperature()
Определения FireplaceBase.c:561
bool CanDecay()
Определения ItemBase.c:4633
void ProcessItemTemperature(float delta, bool hasParent, bool hasRootAsPlayer, ItemBase refParentIB)
Определения ItemBase.c:4591
void HierarchyCheck(out bool hasParent, out bool hasRootAsPlayer, out ItemBase refParentIB)
Определения ItemBase.c:4611
bool CanProcessDecay()
Определения ItemBase.c:4639
void ProcessItemWetness(float delta, bool hasParent, bool hasRootAsPlayer, ItemBase refParentIB)
Определения ItemBase.c:4566
void ItemBase()
Определения ItemBase.c:148
void ProcessDecay(float delta, bool hasRootAsPlayer)
Определения ItemBase.c:4628
bool CanHaveWetness()
Определения ItemBase.c:4646

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