См. определение в файле ComponentEnergyManager.c строка 107
108 {
110 {
112 {
114 return;
115 }
116
118 {
121 }
122
124 {
127
128
129 if ( vector.DistanceSq(from, to) == 0 )
130 return;
131
133 {
135
136 if ( BBB && BBB.GetType() == "Fence" )
137 {
138 to = to + "0 -1.3 0";
139 }
140 }
141
143 }
144 }
145 }
Shape DrawArrow(vector from, vector to, float size=0.5, int color=0xFFFFFFFF, float flags=0)
EntityAI GetEnergySource()
Energy manager: Returns the energy source this device is plugged into.
Перекрестные ссылки CALL_CATEGORY_SYSTEM, DebugUpdate(), vector::DistanceSq(), DrawArrow(), g_Game, GetDebugPlugs(), GetEnergySource(), m_DebugPlugArrow и Component::m_ThisEntityAI.
Используется в DebugUpdate(), OnIsPlugged() и RefreshDebug().