Energy manager: Returns true if this selection is a plug that's plugged into this device. Otherwise returns false.
См. определение в файле ComponentEnergyManager.c строка 1123
1124 {
1126 {
1128
1129 for ( int i = socket_count; i >= 0; --i )
1130 {
1132
1133 if ( selection_to_test == real_selection)
1134 {
1135 return true;
1136 }
1137 }
1138 }
1139
1140 return false;
1141 }
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_.