16 lines
502 B
C#
16 lines
502 B
C#
using Content.Shared.DeviceLinking;
|
|
using Robust.Shared.Serialization.TypeSerializers.Implementations.Custom.Prototype;
|
|
|
|
namespace Content.Server.Explosion.Components
|
|
{
|
|
/// <summary>
|
|
/// Sends a trigger when signal is received.
|
|
/// </summary>
|
|
[RegisterComponent]
|
|
public sealed partial class TriggerOnSignalComponent : Component
|
|
{
|
|
[DataField("port", customTypeSerializer: typeof(PrototypeIdSerializer<SinkPortPrototype>))]
|
|
public string Port = "Trigger";
|
|
}
|
|
}
|