Files
tbd-station-14/Content.Shared/Trigger/Components/Conditions/BaseTriggerConditionComponent.cs
2025-08-03 21:20:37 +02:00

16 lines
468 B
C#

using Content.Shared.Trigger.Systems;
namespace Content.Shared.Trigger.Components.Conditions;
/// <summary>
/// Base class for components that add a condition to triggers.
/// </summary>
public abstract partial class BaseTriggerConditionComponent : Component
{
/// <summary>
/// The keys that are checked for the condition.
/// </summary>
[DataField, AutoNetworkedField]
public HashSet<string> Keys = new() { TriggerSystem.DefaultTriggerKey };
}