| 123456789101112131415161718 |
- 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 partial 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";
- }
|