Remove superseded machine linking code (#18244)
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
using Content.Server.DeviceLinking.Systems;
|
||||
using Content.Shared.MachineLinking;
|
||||
using Content.Shared.DeviceLinking;
|
||||
using Robust.Shared.Audio;
|
||||
using Robust.Shared.Serialization.TypeSerializers.Implementations.Custom.Prototype;
|
||||
|
||||
@@ -15,20 +15,20 @@ public sealed class SignalSwitchComponent : Component
|
||||
/// <summary>
|
||||
/// The port that gets signaled when the switch turns on.
|
||||
/// </summary>
|
||||
[DataField("onPort", customTypeSerializer: typeof(PrototypeIdSerializer<TransmitterPortPrototype>))]
|
||||
[DataField("onPort", customTypeSerializer: typeof(PrototypeIdSerializer<SourcePortPrototype>))]
|
||||
public string OnPort = "On";
|
||||
|
||||
/// <summary>
|
||||
/// The port that gets signaled when the switch turns off.
|
||||
/// </summary>
|
||||
[DataField("offPort", customTypeSerializer: typeof(PrototypeIdSerializer<TransmitterPortPrototype>))]
|
||||
[DataField("offPort", customTypeSerializer: typeof(PrototypeIdSerializer<SourcePortPrototype>))]
|
||||
public string OffPort = "Off";
|
||||
|
||||
/// <summary>
|
||||
/// The port that gets signaled with the switch's current status.
|
||||
/// This is only used if OnPort is different from OffPort, not in the case of a toggle switch.
|
||||
/// </summary>
|
||||
[DataField("statusPort", customTypeSerializer: typeof(PrototypeIdSerializer<TransmitterPortPrototype>))]
|
||||
[DataField("statusPort", customTypeSerializer: typeof(PrototypeIdSerializer<SourcePortPrototype>))]
|
||||
public string StatusPort = "Status";
|
||||
|
||||
[DataField("state")]
|
||||
|
||||
Reference in New Issue
Block a user