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

◆ ProcessVariables()

override void InventoryItem::ProcessVariables ( )
inlineprotected

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

4571 {
4572 bool hasParent = false, hasRootAsPlayer = false;
4573 ItemBase refParentIB;
4574
4575 bool wwtu = g_Game.IsWorldWetTempUpdateEnabled();
4576 bool foodDecay = g_Game.IsFoodDecayEnabled();
4577
4578 if (wwtu || foodDecay)
4579 {
4580 bool processWetness = wwtu && CanHaveWetness();
4581 bool processTemperature = wwtu && CanHaveTemperature();
4582 bool processDecay = foodDecay && CanDecay() && CanProcessDecay();
4583
4584 if (processWetness || processTemperature || processDecay)
4585 {
4586 HierarchyCheck(hasParent, hasRootAsPlayer, refParentIB);
4587
4588 if (processWetness)
4589 ProcessItemWetness(m_ElapsedSinceLastUpdate, hasParent, hasRootAsPlayer, refParentIB);
4590
4591 if (processTemperature)
4592 ProcessItemTemperature(m_ElapsedSinceLastUpdate, hasParent, hasRootAsPlayer, refParentIB);
4593
4594 if (processDecay)
4595 ProcessDecay(m_ElapsedSinceLastUpdate, hasRootAsPlayer);
4596 }
4597 }
4598 }
DayZGame g_Game
Определения DayZGame.c:3868
override bool CanHaveTemperature()
Определения FireplaceBase.c:557
bool CanDecay()
Определения ItemBase.c:4545
void ProcessItemTemperature(float delta, bool hasParent, bool hasRootAsPlayer, ItemBase refParentIB)
Определения ItemBase.c:4503
void HierarchyCheck(out bool hasParent, out bool hasRootAsPlayer, out ItemBase refParentIB)
Определения ItemBase.c:4523
bool CanProcessDecay()
Определения ItemBase.c:4551
void ProcessItemWetness(float delta, bool hasParent, bool hasRootAsPlayer, ItemBase refParentIB)
Определения ItemBase.c:4478
void ItemBase()
Определения ItemBase.c:140
void ProcessDecay(float delta, bool hasRootAsPlayer)
Определения ItemBase.c:4540
bool CanHaveWetness()
Определения ItemBase.c:4558

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