1571 {
1573 {
1575 }
1576 else if (
m_Parent.HasEnergyManager())
1577 {
1578 ComponentEnergyManager comp_em =
m_Parent.GetCompEM();
1579 string SEL_CORD_PLUGGED =
m_Parent.GetCompEM().SEL_CORD_PLUGGED;
1580 string SEL_CORD_FOLDED =
m_Parent.GetCompEM().SEL_CORD_FOLDED;
1581
1583 {
1587 }
1588 else
1589 {
1592 }
1593 }
1594
1596 }
bool IsEnergySourceAtReach(vector from_position, float add_tolerance=0, vector override_source_position="-1 -1 -1")
Energy manager: Returns true if this device's virtual power cord can reach its energy source at the g...
bool IsPlugged()
Energy manager: Returns true if this device is plugged into some other device (even if they are OFF o...
const string SUFFIX_MATERIAL_DEPLOYABLE
const string SUFFIX_MATERIAL_UNDEPLOYABLE
vector GetProjectionPosition()
const string SUFFIX_MATERIAL_POWERED