Class LogicGateComponent
A logic gate that sets its output port by doing an operation on its 2 input ports, A and B.
Inheritance
System.Object
LogicGateComponent
Namespace: Content.Server.DeviceLinking.Components
Assembly: Content.Server.dll
Syntax
public sealed class LogicGateComponent : Component
Fields
| Improve this Doc View SourceCycleQuality
Tool quality to use for cycling logic gate operations. Cannot be pulsing since linking uses that.
Declaration
public string CycleQuality
Field Value
Type | Description |
---|---|
System.String |
CycleSound
Sound played when cycling logic gate operations.
Declaration
public SoundSpecifier CycleSound
Field Value
Type | Description |
---|---|
Robust.Shared.Audio.SoundSpecifier |
Gate
The logic gate operation to use.
Declaration
public LogicGate Gate
Field Value
Type | Description |
---|---|
LogicGate |
InputPortA
Name of the first input port.
Declaration
public string InputPortA
Field Value
Type | Description |
---|---|
System.String |
InputPortB
Name of the second input port.
Declaration
public string InputPortB
Field Value
Type | Description |
---|---|
System.String |
LastOutput
Declaration
public bool LastOutput
Field Value
Type | Description |
---|---|
System.Boolean |
OutputPort
Name of the output port.
Declaration
public string OutputPort
Field Value
Type | Description |
---|---|
System.String |
StateA
Declaration
public SignalState StateA
Field Value
Type | Description |
---|---|
SignalState |
StateB
Declaration
public SignalState StateB
Field Value
Type | Description |
---|---|
SignalState |