mirror of
https://github.com/DeltaV-Station/Delta-v.git
synced 2026-09-30 08:07:28 +00:00
Co-authored-by: metalgearsloth <comedian_vs_clown@hotmail.com>
19 lines
621 B
C#
19 lines
621 B
C#
using Content.Shared.MachineLinking;
|
|
using Robust.Shared.Serialization.TypeSerializers.Implementations.Custom.Prototype;
|
|
|
|
namespace Content.Server.MachineLinking.Components
|
|
{
|
|
/// <summary>
|
|
/// Sends out a signal to machine linked objects.
|
|
/// </summary>
|
|
[RegisterComponent]
|
|
public sealed class SignallerComponent : Component
|
|
{
|
|
/// <summary>
|
|
/// The port that gets signaled when the switch turns on.
|
|
/// </summary>
|
|
[DataField("port", customTypeSerializer: typeof(PrototypeIdSerializer<TransmitterPortPrototype>))]
|
|
public string Port = "Pressed";
|
|
}
|
|
}
|