DayZ 1.30
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 строка 1347

1348 {
1349 if ( GetPluggedDevicesCount() > 0 )
1350 {
1351 return GetPluggedDevices().Get(0);
1352 }
1353
1354 return NULL;
1355 }
int GetPluggedDevicesCount()
Energy manager: Returns the number of devices plugged into this one.
Определения ComponentEnergyManager.c:1188
array< EntityAI > GetPluggedDevices()
Energy manager: Returns an array of devices which are plugged into this one.
Определения ComponentEnergyManager.c:1364

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