1611 {
1612 if (socket_id >= 0)
1613 {
1615
1616 if (!plug_owner_by_socket)
1617 {
1619 return;
1620 }
1621 }
1622
1624
1625 for ( int i = 0; i < slots_c; ++i )
1626 {
1628
1629 if ( !plug_owner )
1630 {
1632 break;
1633 }
1634 }
1635 }
int GetSocketsCount()
Energy manager: Returns the count of power sockets (whenever used or not)
void UpdateSocketSelections(int socket_id, EntityAI device_to_plug)
EntityAI GetDeviceBySocketID(int id)
Energy manager: Returns the device which is plugged into the given socket ID.