9 RegisterNetSyncVariableInt(
"m_Efficiency0To10");
27 super.OnEnergyConsumed();
31 float energyCoef = GetCompEM().GetEnergy0To1();
44 super.OnEnergyAdded();
48 float energyCoef = GetCompEM().GetEnergy0To1();
void AddAction(typename actionName)
override void OnEnergyConsumed()
override void OnEnergyAdded()
override void SetActions()
float m_EfficiencyDecayStart
float GetEfficiency0To1()
Returns efficiency of this battery. The value is synchronized from server to all clients and is accur...
float GetEfficiencyDecayStart()
Returns efficiency of this battery. The value is synchronized from server to all clients and is accur...
proto native CGame GetGame()
static proto float Round(float f)
Returns mathematical round of value.