Show / Hide Table of Contents

Class LiquidTank

Inheritance
System.Object
LiquidTank
LiquidPump
Implements
IController
IViewController
IHasUniversalID
IWireContainer
Namespace: Eco.Gameplay.Pipes.LiquidComponents
Assembly: Eco.Gameplay.dll
Syntax
public class LiquidTank : Object, IController, IViewController, IHasUniversalID, IWireContainer

Constructors

LiquidTank()

Declaration
protected LiquidTank()

LiquidTank(String, Type, Int32, Ray, Ray, Single)

Declaration
public LiquidTank(string name, Type itemType, int tankSize, Ray inputPosDir, Ray outputPosDir, float throughputItemsPerSecond)
Parameters
Type Name Description
System.String name
System.Type itemType
System.Int32 tankSize
Ray inputPosDir
Ray outputPosDir
System.Single throughputItemsPerSecond

Fields

owner

Declaration
protected WorldObject owner
Field Value
Type Description
WorldObject

ToSend

Declaration
public int ToSend
Field Value
Type Description
System.Int32

Properties

AvailableSpace

Declaration
public int AvailableSpace { get; }
Property Value
Type Description
System.Int32

Contents

Declaration
public ItemStack Contents { get; set; }
Property Value
Type Description
ItemStack

ControllerID

Declaration
public ref int ControllerID { get; }
Property Value
Type Description
System.Int32

Enabled

Declaration
public virtual bool Enabled { get; }
Property Value
Type Description
System.Boolean

Fraction

Declaration
public float Fraction { get; set; }
Property Value
Type Description
System.Single

InputPipe

Declaration
public WireInput InputPipe { get; }
Property Value
Type Description
WireInput

InputPosDir

Declaration
public Ray InputPosDir { get; set; }
Property Value
Type Description
Ray

Name

Declaration
public string Name { get; set; }
Property Value
Type Description
System.String

OutputPipe

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

OutputPosDir

Declaration
public Ray OutputPosDir { get; set; }
Property Value
Type Description
Ray

TankSize

Declaration
public int TankSize { get; set; }
Property Value
Type Description
System.Int32

Throughput

Declaration
public float Throughput { get; set; }
Property Value
Type Description
System.Single

Wires

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

Methods

CanAdd(Type)

Declaration
public bool CanAdd(Type itemType)
Parameters
Type Name Description
System.Type itemType
Returns
Type Description
System.Boolean

CopySettings(LiquidTank)

Declaration
public virtual void CopySettings(LiquidTank tank)
Parameters
Type Name Description
LiquidTank tank

Destroy()

Declaration
public void Destroy()

Initialize(WorldObject)

Declaration
public void Initialize(WorldObject owner)
Parameters
Type Name Description
WorldObject owner

Tick(Single)

Declaration
public virtual void Tick(float delta)
Parameters
Type Name Description
System.Single delta

Implements

IController
IViewController
IHasUniversalID
IWireContainer

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