TriggerOnSignalComponent.cs 502 B

123456789101112131415
  1. using Content.Shared.DeviceLinking;
  2. using Robust.Shared.Serialization.TypeSerializers.Implementations.Custom.Prototype;
  3. namespace Content.Server.Explosion.Components
  4. {
  5. /// <summary>
  6. /// Sends a trigger when signal is received.
  7. /// </summary>
  8. [RegisterComponent]
  9. public sealed partial class TriggerOnSignalComponent : Component
  10. {
  11. [DataField("port", customTypeSerializer: typeof(PrototypeIdSerializer<SinkPortPrototype>))]
  12. public string Port = "Trigger";
  13. }
  14. }