using Content.Shared.Actions;
using Robust.Shared.GameStates;
using Robust.Shared.Prototypes;
namespace Content.Shared.Actions.Components;
///
/// Used on action entities to define an action that triggers when targeting an entity coordinate.
/// Can be combined with , see its docs for more information.
///
///
/// Requires .
///
[RegisterComponent, NetworkedComponent, Access(typeof(SharedActionsSystem))]
[EntityCategory("Actions")]
public sealed partial class WorldTargetActionComponent : Component
{
///
/// The local-event to raise when this action is performed.
///
[DataField(required: true), NonSerialized]
public WorldTargetActionEvent? Event;
}