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,16 @@
using Content.Shared.Trigger.Systems;
namespace Content.Shared.Trigger.Components.Triggers;
/// <summary>
/// Base class for components that cause a trigger to be activated.
/// </summary>
public abstract partial class BaseTriggerOnXComponent : Component
{
/// <summary>
/// The key that the trigger will activate.
/// null will activate all triggers.
/// </summary>
[DataField, AutoNetworkedField]
public string? KeyOut = TriggerSystem.DefaultTriggerKey;
}