Show / Hide Table of Contents

Class FuelSupplyComponentData

Persists the fuel currently being burned across pickup/putdown.

Inheritance
System.Object
FuelSupplyComponentData
Implements
IClearRequestHandler
Namespace: Eco.Gameplay.Components.Storage
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
Type Description
Item

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
Type Description
Result

Implements

IClearRequestHandler

Extension Methods

TagUtils.TagNames(Object, Boolean)
TagUtils.TagDisplayNames(Object, Boolean)
ClientSetViewExtensions.SetClassOfProperty(Object, Player, String, String, Int32)
TypeTooltipExtensions.UILinkGeneric(Object)
☀
☾
In This Article
Back to top
Copyright (c) Strange Loop Games 2021
☀
☾