Show / Hide Table of Contents

Class WireOutput

Inheritance
System.Object
WireConnection
WireOutput
Implements
IController
IViewController
IHasUniversalID
System.ComponentModel.INotifyPropertyChanged
IThreadSafeSubscriptions
ISubscriptions<ThreadSafeSubscriptions>
ISubscriptions
Inherited Members
WireConnection.MinFlow
WireConnection.OwnerRenamedEvent
WireConnection.Finalize()
WireConnection.AddWire(WireConnection)
WireConnection.AddWires(IEnumerable<WireConnection>)
WireConnection.RemoveWire(WireConnection, Boolean)
WireConnection.ClearWires()
WireConnection.TrackFlow(PipePayload)
WireConnection.UpdateStatus(Double)
WireConnection.RecalculateFlows(Double)
WireConnection.ToString()
WireConnection.UpdateRayPosition(Ray)
WireConnection.Owner
WireConnection.Ray
WireConnection.Flow
WireConnection.ConnectionBlockType
WireConnection.Name
WireConnection.IsDisconnected
WireConnection.AverageFlow
WireConnection.Wires
WireConnection.ShortDesc
WireConnection.Subscriptions
WireConnection.ControllerID
WireConnection.OnConnectionChange
WireConnection.PropertyChanged
Namespace: Eco.Gameplay.Wires
Assembly: Eco.Gameplay.dll
Syntax
public class WireOutput : WireConnection, IController, IViewController, IHasUniversalID, INotifyPropertyChanged, IThreadSafeSubscriptions, ISubscriptions<ThreadSafeSubscriptions>, ISubscriptions

Constructors

WireOutput(WorldObject, Type, Ray, String)

Declaration
public WireOutput(WorldObject owner, Type connectionType, Ray posDirLocal, string name = "Output")
Parameters
Type Name Description
WorldObject owner
System.Type connectionType
Ray posDirLocal
System.String name

WireOutput(WorldObject, Type, String)

Declaration
public WireOutput(WorldObject owner, Type connectionType, string name = "Output")
Parameters
Type Name Description
WorldObject owner
System.Type connectionType
System.String name

Properties

CachedChunks

Declaration
public ThreadSafeHashSet<Vector3i> CachedChunks { get; }
Property Value
Type Description
ThreadSafeHashSet<Vector3i>

CachedOpenEnds

Declaration
public ThreadSafeList<Ray> CachedOpenEnds { get; }
Property Value
Type Description
ThreadSafeList<Ray>

HorizontalLength

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

TotalLength

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

VerticalLength

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

WireConnectionTooltip

Declaration
public override LocString WireConnectionTooltip { get; }
Property Value
Type Description
LocString
Overrides
WireConnection.WireConnectionTooltip

Methods

Destroy()

Declaration
public void Destroy()

MaxCanReceive(Type)

Declaration
public float MaxCanReceive(Type type)
Parameters
Type Name Description
System.Type type
Returns
Type Description
System.Single

SendItem(PipePayload, Boolean)

Declaration
public float SendItem(PipePayload payload, bool divideAmongOutputs = true)
Parameters
Type Name Description
PipePayload payload
System.Boolean divideAmongOutputs
Returns
Type Description
System.Single

SendItemConsume(ItemStack, Int32, Single)

Declaration
public void SendItemConsume(ItemStack stack, int maxToSend, float time)
Parameters
Type Name Description
ItemStack stack
System.Int32 maxToSend
System.Single time

SendSignal(Single)

Declaration
public void SendSignal(float val)
Parameters
Type Name Description
System.Single val

StopSendingItems()

Declaration
public void StopSendingItems()

UpdateIfNeeded()

Declaration
public override void UpdateIfNeeded()
Overrides
WireConnection.UpdateIfNeeded()

Implements

IController
IViewController
IHasUniversalID
System.ComponentModel.INotifyPropertyChanged
IThreadSafeSubscriptions
ISubscriptions<TSubscriptionsList>
ISubscriptions

Extension Methods

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