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 EntityEffect[]? Effects;
}
///
/// Event raised when an entity effect action is performed.
///
public sealed partial class EntityEffectActionEvent : EntityTargetActionEvent;
///
/// Event raised to link between instant actions & the entity effect action.
///
public sealed partial class EntityEffectInstantActionEvent : InstantActionEvent;