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

◆ CanSwitchOn()

bool ComponentEnergyManager::CanSwitchOn ( )
inlineprotected

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

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

766 {
767 if ( !IsSwitchedOn() )
768 {
769 return true;
770 }
771
772 return false;
773 }
bool IsSwitchedOn()
Energy manager: Returns state of the switch. Whenever the device is working or not does not matter....
Определения ComponentEnergyManager.c:897

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

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