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

◆ GetPluggedDevice()

EntityAI ComponentEnergyManager::GetPluggedDevice ( )
inlineprotected

Energy manager: Returns a device which is plugged into this one. If there are more devices to choose from then it returns the first one that is found.

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

1316 {
1317 if ( GetPluggedDevicesCount() > 0 )
1318 {
1319 return GetPluggedDevices().Get(0);
1320 }
1321
1322 return NULL;
1323 }
int GetPluggedDevicesCount()
Energy manager: Returns the number of devices plugged into this one.
Определения ComponentEnergyManager.c:1156
array< EntityAI > GetPluggedDevices()
Energy manager: Returns an array of devices which are plugged into this one.
Определения ComponentEnergyManager.c:1332

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