Energy manager: Returns true if this selection is a plug that's plugged into this device. Otherwise returns false.
См. определение в файле ComponentEnergyManager.c строка 1110
1111 {
1113 {
1115
1116 for ( int i = socket_count; i >= 0; --i )
1117 {
1119
1120 if ( selection_to_test == real_selection)
1121 {
1122 return true;
1123 }
1124 }
1125 }
1126
1127 return false;
1128 }
static const string SOCKET_
static const string _PLUGGED
array< EntityAI > GetPluggedDevices()
Energy manager: Returns an array of devices which are plugged into this one.
int GetSocketsCount()
Energy manager: Returns the count of power sockets (whenever used or not)
Перекрестные ссылки _PLUGGED, GetPluggedDevices(), GetSocketsCount() и SOCKET_.