mirror of
https://github.com/space-syndicate/space-station-14.git
synced 2026-10-10 02:41:18 +03:00
16 lines
484 B
C#
16 lines
484 B
C#
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;
|
|
}
|