| 123456789101112131415161718 |
- using Content.Shared.DeviceLinking;
- using Robust.Shared.Serialization.TypeSerializers.Implementations.Custom.Prototype;
- namespace Content.Server.DeviceLinking.Components
- {
- /// <summary>
- /// Sends out a signal to machine linked objects.
- /// </summary>
- [RegisterComponent]
- public sealed partial class SignallerComponent : Component
- {
- /// <summary>
- /// The port that gets signaled when the switch turns on.
- /// </summary>
- [DataField("port", customTypeSerializer: typeof(PrototypeIdSerializer<SourcePortPrototype>))]
- public string Port = "Pressed";
- }
- }
|