DIFF

class VehicleBatterySource

VehicleBattery ItemBase InventoryItem EntityAI Entity ObjectTyped Object IEntity Managed

All members, including inherited

Constructors 1

void VehicleBattery()

Members 2

private int m_Efficiency0To10

ENERGY CONSUMPTION

static private float m_EfficiencyDecayStart = 0.1

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

Methods 15

override bool CanDetachAttachment(EntityAI parent)
override bool CanReceiveAttachment(EntityAI attachment, int slotId)
override bool CanDisplayAttachmentSlot(int slot_id)
override bool DisplayNameRuinAttach()
override bool ShowZonesHealth()
override void SetActions()
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.