Show / Hide Table of Contents

Class LiquidProducerComponent

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

Constructors

LiquidProducerComponent()

Declaration
public LiquidProducerComponent()

Properties

Availability

Declaration
public override WorldObjectComponentClientAvailability Availability { get; }
Property Value
Type Description
WorldObjectComponentClientAvailability
Overrides
WorldObjectComponent.Availability

IconName

Declaration
public override string IconName { get; }
Property Value
Type Description
System.String
Overrides
WorldObjectComponent.IconName

LiquidName

Declaration
public LocString LiquidName { get; }
Property Value
Type Description
LocString

OutputPipe

Declaration
public WireOutput OutputPipe { get; }
Property Value
Type Description
WireOutput

Wires

Declaration
public IEnumerable<WireConnection> Wires { get; }
Property Value
Type Description
System.Collections.Generic.IEnumerable<WireConnection>

Methods

Destroy()

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

GetPollutionTonsPerHour()

Declaration
public float GetPollutionTonsPerHour()
Returns
Type Description
System.Single

LateTick()

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

OnAfterObjectMoved()

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

Produce(Single, Single)

Declaration
public float Produce(float quantity, float time)
Parameters
Type Name Description
System.Single quantity
System.Single time
Returns
Type Description
System.Single

Setup(Type, Single, BlockOccupancyType)

Declaration
public void Setup(Type producesType, float productionRate, BlockOccupancyType blockOccupancyType)
Parameters
Type Name Description
System.Type producesType
System.Single productionRate
BlockOccupancyType blockOccupancyType

Tick()

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

Implements

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

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