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

◆ OnOverheatingDecay()

void InventoryItem::OnOverheatingDecay ( )
inlineprivate

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

563 {
564 if (m_MaxOverheatingValue > 0)
565 m_OverheatingShots -= 1 + m_OverheatingShots / m_MaxOverheatingValue; // The hotter a barrel is, the faster it needs to cool down.
566 else
568
569 if (m_OverheatingShots <= 0)
570 {
571 m_CheckOverheating.Stop();
573 }
574 else
575 {
578
579 m_CheckOverheating.Stop();
580 m_CheckOverheating.Run(m_OverheatingDecayInterval, this, "OnOverheatingDecay");
581 }
582
583 CheckOverheating(this, "", this);
584 }
ref Timer m_CheckOverheating
Определения ItemBase.c:109
int m_MaxOverheatingValue
Определения ItemBase.c:111
void CheckOverheating(ItemBase weapon=null, string ammoType="", ItemBase muzzle_owner=null, ItemBase suppressor=null, string config_to_search="")
Определения ItemBase.c:540
float m_OverheatingDecayInterval
Определения ItemBase.c:112
float m_OverheatingShots
Определения ItemBase.c:108
const int CALL_CATEGORY_GAMEPLAY
Определения tools.c:10

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