using Content.Shared.Trigger.Systems;
namespace Content.Shared.Trigger.Components.Effects;
///
/// Base class for components that do something when triggered.
///
public abstract partial class BaseXOnTriggerComponent : Component
{
///
/// The keys that will activate the effect.
///
[DataField, AutoNetworkedField]
public HashSet KeysIn = new() { TriggerSystem.DefaultTriggerKey };
///
/// Set to true to make the user of the trigger the effect target.
/// Set to false to make the owner of this component the target.
///
[DataField, AutoNetworkedField]
public bool TargetUser = false;
}