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

◆ OnOverheatingDecay()

void InventoryItem::OnOverheatingDecay ( )
inlineprivate

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

573 {
574 if (m_MaxOverheatingValue > 0)
575 m_OverheatingShots -= 1 + m_OverheatingShots / m_MaxOverheatingValue; // The hotter a barrel is, the faster it needs to cool down.
576 else
578
579 if (m_OverheatingShots <= 0)
580 {
581 m_CheckOverheating.Stop();
583 }
584 else
585 {
588
589 m_CheckOverheating.Stop();
590 m_CheckOverheating.Run(m_OverheatingDecayInterval, this, "OnOverheatingDecay");
591 }
592
593 CheckOverheating(this, "", this);
594 }
ref Timer m_CheckOverheating
Определения ItemBase.c:115
int m_MaxOverheatingValue
Определения ItemBase.c:117
void CheckOverheating(ItemBase weapon=null, string ammoType="", ItemBase muzzle_owner=null, ItemBase suppressor=null, string config_to_search="")
Определения ItemBase.c:550
float m_OverheatingDecayInterval
Определения ItemBase.c:118
float m_OverheatingShots
Определения ItemBase.c:114
const int CALL_CATEGORY_GAMEPLAY
Определения 3_Game/DayZ/tools/tools.c:10

Перекрестные ссылки CALL_CATEGORY_GAMEPLAY, CheckOverheating(), m_CheckOverheating, m_MaxOverheatingValue, m_OverheatingDecayInterval и m_OverheatingShots.