DayZ 1.29
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 строка 1360

1361 {
1362 if ( GetPluggedDevicesCount() > 0 )
1363 {
1364 return GetPluggedDevices().Get(0);
1365 }
1366
1367 return NULL;
1368 }
int GetPluggedDevicesCount()
Energy manager: Returns the number of devices plugged into this one.
Определения ComponentEnergyManager.c:1201
array< EntityAI > GetPluggedDevices()
Energy manager: Returns an array of devices which are plugged into this one.
Определения ComponentEnergyManager.c:1377

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