19 lines
789 B
C#
19 lines
789 B
C#
using Content.Server.Atmos.Piping.Binary.EntitySystems;
|
|
using Content.Shared.DeviceLinking;
|
|
using Robust.Shared.Serialization.TypeSerializers.Implementations.Custom.Prototype;
|
|
|
|
namespace Content.Server.Atmos.Piping.Binary.Components;
|
|
|
|
[RegisterComponent, Access(typeof(SignalControlledValveSystem))]
|
|
public sealed class SignalControlledValveComponent : Component
|
|
{
|
|
[DataField("openPort", customTypeSerializer: typeof(PrototypeIdSerializer<SinkPortPrototype>))]
|
|
public string OpenPort = "Open";
|
|
|
|
[DataField("closePort", customTypeSerializer: typeof(PrototypeIdSerializer<SinkPortPrototype>))]
|
|
public string ClosePort = "Close";
|
|
|
|
[DataField("togglePort", customTypeSerializer: typeof(PrototypeIdSerializer<SinkPortPrototype>))]
|
|
public string TogglePort = "Toggle";
|
|
}
|