using Content.Shared.Actions;
using Robust.Shared.GameStates;
using Robust.Shared.Prototypes;
namespace Content.Shared.Actions.Components;
///
/// An action that raises an event as soon as it gets used.
/// Requires .
///
[RegisterComponent, NetworkedComponent, Access(typeof(SharedActionsSystem))]
[EntityCategory("Actions")]
public sealed partial class InstantActionComponent : Component
{
///
/// The local-event to raise when this action is performed.
///
[DataField(required: true), NonSerialized]
public InstantActionEvent? Event;
}