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

◆ SetPassiveState()

void ComponentEnergyManager::SetPassiveState ( bool state = true)
inlineprotected

Energy manager: Changes the status of this device. When it's passive (true), the main timer and OnWork events are not used.

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

442 {
443 m_IsPassiveDevice = state;
444 if ( !m_IsPassiveDevice )
445 {
446 DeviceUpdate();
447 }
448 }

Перекрестные ссылки DeviceUpdate() и m_IsPassiveDevice.