mirror of
https://github.com/DeltaV-Station/Delta-v.git
synced 2026-09-30 16:17:27 +00:00
Co-authored-by: metalgearsloth <comedian_vs_clown@hotmail.com>
16 lines
499 B
C#
16 lines
499 B
C#
using Content.Shared.MachineLinking;
|
|
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 class TriggerOnSignalComponent : Component
|
|
{
|
|
[DataField("port", customTypeSerializer: typeof(PrototypeIdSerializer<ReceiverPortPrototype>))]
|
|
public string Port = "Trigger";
|
|
}
|
|
}
|