mirror of
https://github.com/DeltaV-Station/Delta-v.git
synced 2026-09-30 08:07:28 +00:00
Co-authored-by: metalgearsloth <comedian_vs_clown@hotmail.com>
25 lines
881 B
C#
25 lines
881 B
C#
using Content.Shared.MachineLinking;
|
|
using Robust.Shared.Serialization.TypeSerializers.Implementations.Custom.Prototype;
|
|
|
|
namespace Content.Server.MachineLinking.Components
|
|
{
|
|
[RegisterComponent]
|
|
public sealed class TwoWayLeverComponent : Component
|
|
{
|
|
[DataField("state")]
|
|
public TwoWayLeverState State;
|
|
|
|
[DataField("nextSignalLeft")]
|
|
public bool NextSignalLeft;
|
|
|
|
[DataField("leftPort", customTypeSerializer: typeof(PrototypeIdSerializer<TransmitterPortPrototype>))]
|
|
public string LeftPort = "Left";
|
|
|
|
[DataField("rightPort", customTypeSerializer: typeof(PrototypeIdSerializer<TransmitterPortPrototype>))]
|
|
public string RightPort = "Right";
|
|
|
|
[DataField("middlePort", customTypeSerializer: typeof(PrototypeIdSerializer<TransmitterPortPrototype>))]
|
|
public string MiddlePort = "Middle";
|
|
}
|
|
}
|