using Content.Shared.DeviceLinking; using Content.Shared.Power.Generator; using Robust.Shared.Prototypes; namespace Content.Server.Power.Generator; /// /// When attached to an entity with it will allow the signal network to exert control over the generator. /// [RegisterComponent] public sealed partial class GeneratorSignalControlComponent: Component { /// /// The port that should be invoked when turning the generator on. /// [DataField] public ProtoId OnPort = "On"; /// /// The port that should be invoked when turning the generator off. /// [DataField] public ProtoId OffPort = "Off"; /// /// The port that should be invoked when toggling the generator. /// [DataField] public ProtoId TogglePort = "Toggle"; }