CatStation/Content.Server/DeviceLinking/Components/DoorSignalControlComponent.cs
deltanedas cf7fde3d62
Big prototype and datafield cleanup (#45202)
* giant protoid cleanup

* yml changes

* !

---------

Co-authored-by: deltanedas <@deltanedas:goida.zip>
2026-08-12 02:07:22 +00:00

24 lines
680 B
C#

using Content.Shared.DeviceLinking;
using Robust.Shared.Prototypes;
namespace Content.Server.DeviceLinking.Components
{
[RegisterComponent]
public sealed partial class DoorSignalControlComponent : Component
{
[DataField]
public ProtoId<SinkPortPrototype> OpenPort = "Open";
[DataField]
public ProtoId<SinkPortPrototype> ClosePort = "Close";
[DataField]
public ProtoId<SinkPortPrototype> TogglePort = "Toggle";
[DataField("boltPort")]
public ProtoId<SinkPortPrototype> InBolt = "DoorBolt";
[DataField("onOpenPort")]
public ProtoId<SourcePortPrototype> OutOpen = "DoorStatus";
}
}