CatStation/Content.Server/Shuttles/Components/DockingSignalControlComponent.cs
UpAndLeaves 1e3b924417
Allow toggling shuttle docks via network linking (#45734)
* Allow toggling shuttle docks via network linking

* RQC

* RQC 2

* Fuck shit I fucked it

* More explainin'

* RQC

* review

* Fix merge issues

* Update DockingSignalControlSystem.cs

---------

Co-authored-by: Pok245 <113675512+Pok27@users.noreply.github.com>
2026-09-22 10:20:40 +00:00

20 lines
562 B
C#

using Content.Shared.DeviceLinking;
using Robust.Shared.Prototypes;
namespace Content.Server.Shuttles.Components;
[RegisterComponent]
public sealed partial class DockingSignalControlComponent : Component
{
/// <summary>
/// Output port that is high while docked.
/// </summary>
[DataField]
public ProtoId<SourcePortPrototype> DockStatusSignalPort = "DockStatus";
/// <summary>
/// Input port that toggles the docking status.
/// </summary>
[DataField]
public ProtoId<SinkPortPrototype> DockTogglePort = "DockToggle";
}