Energy manager: Returns true if this selection is a plug that's plugged into this device. Otherwise returns false.
См. определение в файле ComponentEnergyManager.c строка 1078
1079 {
1081 {
1083
1084 for ( int i = socket_count; i >= 0; --i )
1085 {
1087
1088 if ( selection_to_test == real_selection)
1089 {
1090 return true;
1091 }
1092 }
1093 }
1094
1095 return false;
1096 }
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_.