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

◆ OnOverheatingDecay()

void OnOverheatingDecay ( )
private

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

482 {
483 if (m_MaxOverheatingValue > 0)
484 m_OverheatingShots -= 1 + m_OverheatingShots / m_MaxOverheatingValue; // The hotter a barrel is, the faster it needs to cool down.
485 else
487
488 if (m_OverheatingShots <= 0)
489 {
490 m_CheckOverheating.Stop();
492 }
493 else
494 {
497
498 m_CheckOverheating.Stop();
499 m_CheckOverheating.Run(m_OverheatingDecayInterval, this, "OnOverheatingDecay");
500 }
501
502 CheckOverheating(this, "", this);
503 }
float m_OverheatingShots
Определения ItemBase.c:99
int m_MaxOverheatingValue
Определения ItemBase.c:102
float m_OverheatingDecayInterval
Определения ItemBase.c:103
void CheckOverheating(ItemBase weapon=null, string ammoType="", ItemBase muzzle_owner=null, ItemBase suppressor=null, string config_to_search="")
Определения ItemBase.c:459
ref Timer m_CheckOverheating
Определения ItemBase.c:100
Определения DayZPlayerImplement.c:39
const int CALL_CATEGORY_GAMEPLAY
Определения 3_Game/DayZ/tools/tools.c:10

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