2023-07-24 14:07:35 +12:00
|
|
|
using Content.Shared.DeviceLinking;
|
2022-05-12 20:46:20 +12:00
|
|
|
using Robust.Shared.Serialization.TypeSerializers.Implementations.Custom.Prototype;
|
2022-04-22 02:54:39 -04:00
|
|
|
|
|
|
|
|
namespace Content.Server.Explosion.Components
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Sends a trigger when signal is received.
|
|
|
|
|
/// </summary>
|
|
|
|
|
[RegisterComponent]
|
|
|
|
|
public sealed class TriggerOnSignalComponent : Component
|
|
|
|
|
{
|
2023-07-24 14:07:35 +12:00
|
|
|
[DataField("port", customTypeSerializer: typeof(PrototypeIdSerializer<SinkPortPrototype>))]
|
2022-05-12 20:46:20 +12:00
|
|
|
public string Port = "Trigger";
|
2022-04-22 02:54:39 -04:00
|
|
|
}
|
2022-05-12 20:46:20 +12:00
|
|
|
}
|