using Content.Shared.EntityEffects; using Robust.Shared.GameStates; namespace Content.Shared.Actions.Components; /// /// An action component that applies a list of entity effects to the target when performed. /// Requires and . /// [RegisterComponent, NetworkedComponent, Access(typeof(EntityEffectActionSystem))] public sealed partial class EntityEffectActionComponent : Component { /// /// List of entity effects to apply to the target when this action is performed. /// [DataField(required: true)] public List Effects = []; } /// /// Event raised when an entity effect action is performed. /// public sealed partial class EntityEffectActionEvent : EntityTargetActionEvent;