Trigger Refactor (#39034)

This commit is contained in:
slarticodefast
2025-08-03 21:20:37 +02:00
committed by GitHub
parent 777e89ab3e
commit 2c40a950f7
256 changed files with 3987 additions and 2892 deletions

View File

@@ -0,0 +1,19 @@
using Content.Shared.DeviceLinking;
using Robust.Shared.GameStates;
using Robust.Shared.Prototypes;
namespace Content.Shared.Trigger.Components.Triggers;
/// <summary>
/// Sends a trigger when signal is received.
/// The user is the sender of the signal.
/// </summary>
[RegisterComponent, NetworkedComponent, AutoGenerateComponentState]
public sealed partial class TriggerOnSignalComponent : BaseTriggerOnXComponent
{
/// <summary>
/// The sink port prototype we can connect devices to.
/// </summary>
[DataField, AutoNetworkedField]
public ProtoId<SinkPortPrototype> Port = "Trigger";
}