1522 {
1524 {
1526 }
1527 else if (
m_Parent.HasEnergyManager())
1528 {
1529 ComponentEnergyManager comp_em =
m_Parent.GetCompEM();
1530 string SEL_CORD_PLUGGED =
m_Parent.GetCompEM().SEL_CORD_PLUGGED;
1531 string SEL_CORD_FOLDED =
m_Parent.GetCompEM().SEL_CORD_FOLDED;
1532
1534 {
1538 }
1539 else
1540 {
1543 }
1544 }
1545
1547 }
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