Table of Contents

Class BatteryEntry

Namespace
DefaultNamespace
Assembly
Assembly-CSharp.dll
public class BatteryEntry : ItemDataEntry, IHaveUIData
Inheritance
BatteryEntry
Implements
Inherited Members
Extension Methods

Constructors

BatteryEntry()

public BatteryEntry()

Fields

m_charge

public float m_charge

Field Value

float

m_maxCharge

public float m_maxCharge

Field Value

float

Methods

AddCharge(float)

public void AddCharge(float chargeToAdd)

Parameters

chargeToAdd float

Deserialize(BinaryDeserializer)

public override void Deserialize(BinaryDeserializer binaryDeserializer)

Parameters

binaryDeserializer BinaryDeserializer

GetPercentage()

public float GetPercentage()

Returns

float

GetString()

public string GetString()

Returns

string

Serialize(BinarySerializer)

public override void Serialize(BinarySerializer binarySerializer)

Parameters

binarySerializer BinarySerializer