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

◆ ProcessVariables()

override void InventoryItem::ProcessVariables ( )
inlineprotected

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

4643 {
4644 bool hasParent = false, hasRootAsPlayer = false;
4645 ItemBase refParentIB;
4646
4647 bool wwtu = g_Game.IsWorldWetTempUpdateEnabled();
4648 bool foodDecay = g_Game.IsFoodDecayEnabled();
4649
4650 if (wwtu || foodDecay)
4651 {
4652 bool processWetness = wwtu && CanHaveWetness();
4653 bool processTemperature = wwtu && CanHaveTemperature();
4654 bool processDecay = foodDecay && CanDecay() && CanProcessDecay();
4655
4656 if (processWetness || processTemperature || processDecay)
4657 {
4658 HierarchyCheck(hasParent, hasRootAsPlayer, refParentIB);
4659
4660 if (processWetness)
4661 ProcessItemWetness(m_ElapsedSinceLastUpdate, hasParent, hasRootAsPlayer, refParentIB);
4662
4663 if (processTemperature)
4664 ProcessItemTemperature(m_ElapsedSinceLastUpdate, hasParent, hasRootAsPlayer, refParentIB);
4665
4666 if (processDecay)
4667 ProcessDecay(m_ElapsedSinceLastUpdate, hasRootAsPlayer);
4668 }
4669 }
4670 }
DayZGame g_Game
Определения DayZGame.c:3868
override bool CanHaveTemperature()
Определения FireplaceBase.c:559
bool CanDecay()
Определения ItemBase.c:4617
void ProcessItemTemperature(float delta, bool hasParent, bool hasRootAsPlayer, ItemBase refParentIB)
Определения ItemBase.c:4575
void HierarchyCheck(out bool hasParent, out bool hasRootAsPlayer, out ItemBase refParentIB)
Определения ItemBase.c:4595
bool CanProcessDecay()
Определения ItemBase.c:4623
void ProcessItemWetness(float delta, bool hasParent, bool hasRootAsPlayer, ItemBase refParentIB)
Определения ItemBase.c:4550
void ItemBase()
Определения ItemBase.c:140
void ProcessDecay(float delta, bool hasRootAsPlayer)
Определения ItemBase.c:4612
bool CanHaveWetness()
Определения ItemBase.c:4630

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