Show / Hide Table of Contents

Class LiquidConverterComponent

Inheritance
System.Object
WorldObjectComponent
LiquidConverterComponent
Implements
ILinkable
IOwned
IHasSerializableID
IRPCAuthChecks
System.ComponentModel.INotifyPropertyChanged
IThreadSafeSubscriptions
ISubscriptions<ThreadSafeSubscriptions>
ISubscriptions
IHasInteractions
IController
IViewController
IHasUniversalID
System.IDisposable
Inherited Members
WorldObjectComponent.IsRPCAuthorized(IWorldObserver, AccessType, Object[])
WorldObjectComponent.Initialize()
WorldObjectComponent.PostInitialize()
WorldObjectComponent.OnCreate()
WorldObjectComponent.Destroy()
WorldObjectComponent.Tick()
WorldObjectComponent.TryPickup(Player, InventoryChangeSet, Inventory, Boolean)
WorldObjectComponent.OnPickup(Player)
WorldObjectComponent.OnBeforeObjectMoved()
WorldObjectComponent.OnAfterObjectMoved()
WorldObjectComponent.OnLinkClicked(TooltipOrigin, TooltipClickContext, User)
WorldObjectComponent.UILinkContent()
WorldObjectComponent.Parent
WorldObjectComponent.Name
WorldObjectComponent.IconName
WorldObjectComponent.ForceActiveTab
WorldObjectComponent.ComponentPrefabName
WorldObjectComponent.ComponentTabName
WorldObjectComponent.IsDestroyed
WorldObjectComponent.Availability
WorldObjectComponent.ShouldRequestEverything
WorldObjectComponent.Owners
WorldObjectComponent.ControllerID
WorldObjectComponent.IOwned.Deed
WorldObjectComponent.Subscriptions
WorldObjectComponent.PropertyChanged
Namespace: Eco.Gameplay.Pipes.LiquidComponents
Assembly: Eco.Gameplay.dll
Syntax
[RequireComponent]
[RequireComponent]
public sealed class LiquidConverterComponent : WorldObjectComponent, ILinkable, IOwned, IHasSerializableID, IRPCAuthChecks, INotifyPropertyChanged, IThreadSafeSubscriptions, ISubscriptions<ThreadSafeSubscriptions>, ISubscriptions, IHasInteractions, IController, IViewController, IHasUniversalID, IDisposable

Constructors

LiquidConverterComponent()

Declaration
public LiquidConverterComponent()

Properties

Enabled

Declaration
public override bool Enabled { get; }
Property Value
Type Description
System.Boolean
Overrides
WorldObjectComponent.Enabled

In

Declaration
public LiquidConsumerComponent In { get; }
Property Value
Type Description
LiquidConsumerComponent

Out

Declaration
public LiquidProducerComponent Out { get; }
Property Value
Type Description
LiquidProducerComponent

Methods

Dispose()

Declaration
public void Dispose()

LateTick()

Declaration
public override void LateTick()
Overrides
WorldObjectComponent.LateTick()

OnCanReceive(Type)

Declaration
public float OnCanReceive(Type itemType)
Parameters
Type Name Description
System.Type itemType
Returns
Type Description
System.Single

Setup(Type, Type, BlockOccupancyType, BlockOccupancyType, Single, Single)

Declaration
public void Setup(Type inputType, Type outputsType, BlockOccupancyType inputBlockType, BlockOccupancyType outputBlockType, float consumptionRate = 1F, float requiredFlow = 0.9F)
Parameters
Type Name Description
System.Type inputType
System.Type outputsType
BlockOccupancyType inputBlockType
BlockOccupancyType outputBlockType
System.Single consumptionRate
System.Single requiredFlow

Events

OnConvert

Declaration
public event Action<float> OnConvert
Event Type
Type Description
System.Action<System.Single>

ShouldConvertLiquid

Declaration
public event Func<bool> ShouldConvertLiquid
Event Type
Type Description
System.Func<System.Boolean>

Implements

ILinkable
IOwned
IHasSerializableID
IRPCAuthChecks
System.ComponentModel.INotifyPropertyChanged
IThreadSafeSubscriptions
ISubscriptions<TSubscriptionsList>
ISubscriptions
IHasInteractions
IController
IViewController
IHasUniversalID
System.IDisposable

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
☀
☾