DIFF

class Battery9VSource

Battery9V ItemBase InventoryItem EntityAI Entity ObjectTyped Object IEntity Managed

All members, including inherited

Constructors 1

Members 2

private int m_Efficiency0To10

Synchronized variable

Referenced by Battery9V(), GetEfficiency0To1(), OnEnergyAdded()
Show 1 more, OnEnergyConsumed()
static private float m_EfficiencyDecayStart = 0.1

At this % of maximum energy the output of the battery starts to weaken.

Methods 5

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 SetActions()