PC Stable Documentation
|
|
Private Member Functions | |
void | Battery9V () |
float | GetEfficiency0To1 () |
Returns efficiency of this battery. The value is synchronized from server to all clients and is accurate down to 0.1 units. | |
float | GetEfficiencyDecayStart () |
Returns efficiency of this battery. The value is synchronized from server to all clients and is accurate down to 0.1 unit. | |
override void | OnEnergyConsumed () |
override void | OnEnergyAdded () |
override void | SetActions () |
Private Attributes | |
private int | m_Efficiency0To10 |
Static Private Attributes | |
static private float | m_EfficiencyDecayStart = 0.1 |
|
inlineprivate |
References m_Efficiency0To10.
|
inlineprivate |
Returns efficiency of this battery. The value is synchronized from server to all clients and is accurate down to 0.1 units.
References m_Efficiency0To10.
Referenced by Clothing::OnWork(), ItemBase::OnWork(), and Switchable_Base::OnWork().
|
inlineprivate |
Returns efficiency of this battery. The value is synchronized from server to all clients and is accurate down to 0.1 unit.
References m_EfficiencyDecayStart.
|
inlineprivate |
References GetGame(), m_Efficiency0To10, m_EfficiencyDecayStart, and Math::Round().
|
inlineprivate |
References GetGame(), m_Efficiency0To10, m_EfficiencyDecayStart, and Math::Round().
|
inlineprivate |
References AddAction().
|
private |
Referenced by Battery9V(), GetEfficiency0To1(), OnEnergyAdded(), and OnEnergyConsumed().
|
staticprivate |
Referenced by GetEfficiencyDecayStart(), OnEnergyAdded(), and OnEnergyConsumed().