Energy manager: Shows/Hides all selections this system works with. Call this if something is wrong with selections (like during Init and Restore event in config)
548 {
549
551
552 for ( int i = 0; i < slots_c; ++i )
553 {
555
556 if ( plug_owner )
557 {
562 string texture_path = plug_owner.GetCompEM().GetCordTextureFile();
563 int selection_index =
m_ThisEntityAI.GetHiddenSelectionIndex( plugged_selection );
565 }
566 else
567 {
570 }
571 }
572
573
575 {
578 }
579 else
580 {
583 }
584 }
static const string SEL_CORD_FOLDED
static const string SOCKET_
static const string _AVAILABLE
static const string _PLUGGED
EntityAI GetEnergySource()
Energy manager: Returns the energy source this device is plugged into.
static const string SEL_CORD_PLUGGED
int GetSocketsCount()
Energy manager: Returns the count of power sockets (whenever used or not)
EntityAI GetDeviceBySocketID(int id)
Energy manager: Returns the device which is plugged into the given socket ID.