using JetBrains.Annotations; using Robust.Shared.Map; namespace Content.Shared.Interaction { /// /// Raised when an entity is interacted with that is out of the user entity's range of direct use. /// [PublicAPI] public sealed class RangedInteractEvent : HandledEntityEventArgs { /// /// Entity that triggered the interaction. /// public EntityUid UserUid { get; } /// /// Entity that the user used to interact. /// public EntityUid UsedUid { get; } /// /// Entity that was interacted on. /// public EntityUid TargetUid { get; } /// /// Location that the user clicked outside of their interaction range. /// public EntityCoordinates ClickLocation { get; } public RangedInteractEvent(EntityUid user, EntityUid used, EntityUid target, EntityCoordinates clickLocation) { UserUid = user; UsedUid = used; TargetUid = target; ClickLocation = clickLocation; } } }