Class FuelSupplyComponentData
Persists the fuel currently being burned across pickup/putdown.
Inheritance
System.Object
FuelSupplyComponentData
Assembly: Eco.Gameplay.dll
Syntax
public class FuelSupplyComponentData : Object, IClearRequestHandler
Constructors
FuelSupplyComponentData()
Declaration
public FuelSupplyComponentData()
Properties
CurrentFuel
Declaration
public Item CurrentFuel { get; set; }
Property Value
Energy
Declaration
public float Energy { get; set; }
Property Value
| Type |
Description |
| System.Single |
|
HasDataThatCanBeCleared
Declaration
public bool HasDataThatCanBeCleared { get; }
Property Value
| Type |
Description |
| System.Boolean |
|
PeakEnergy
Declaration
public float PeakEnergy { get; set; }
Property Value
| Type |
Description |
| System.Single |
|
Methods
TryHandleClearRequest(Player)
Declaration
public Result TryHandleClearRequest(Player player)
Parameters
| Type |
Name |
Description |
| Player |
player |
|
Returns
Implements
Extension Methods