using Content.Shared.Actions.Components;
using static Robust.Shared.Input.Binding.PointerInputCmdHandler;
namespace Content.Client.Actions;
///
/// This event is raised when a user clicks on an empty action slot. Enables other systems to fill this slot.
///
public sealed class FillActionSlotEvent : EntityEventArgs
{
public EntityUid? Action;
}
///
/// Client-side event used to attempt to trigger a targeted action.
/// This only gets raised if the has .
/// Handlers must set Handled to true, then if the action has been performed,
/// i.e. a target is found, then FoundTarget must be set to true.
///
[ByRefEvent]
public record struct ActionTargetAttemptEvent(
PointerInputCmdArgs Input,
Entity User,
ActionComponent Action,
bool Handled = false,
bool FoundTarget = false);