DayZ 1.29
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 строка 450

451 {
452 m_IsPassiveDevice = state;
453 if ( !m_IsPassiveDevice )
454 {
455 DeviceUpdate();
456 }
457 }

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