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

◆ CanSwitchOn()

bool ComponentEnergyManager::CanSwitchOn ( )
inlineprotected

Energy manager: Checks if the device can be switched ON.

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

753 {
754 if ( !IsSwitchedOn() )
755 {
756 return true;
757 }
758
759 return false;
760 }
bool IsSwitchedOn()
Energy manager: Returns state of the switch. Whenever the device is working or not does not matter....
Определения ComponentEnergyManager.c:884

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

Используется в SwitchOn().