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

◆ CanSwitchOn()

bool ComponentEnergyManager::CanSwitchOn ( )
inlineprotected

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

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

742 {
743 if ( !IsSwitchedOn() )
744 {
745 return true;
746 }
747
748 return false;
749 }
bool IsSwitchedOn()
Energy manager: Returns state of the switch. Whenever the device is working or not does not matter....
Определения ComponentEnergyManager.c:866

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

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