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
m_maxCharge
public float m_maxCharge
Field Value
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
GetString()
public string GetString()
Returns
Serialize(BinarySerializer)
public override void Serialize(BinarySerializer binarySerializer)
Parameters
binarySerializer
BinarySerializer