Remove IAfterInteract (#9715)

* remove gas analyzer iafterinteract

* solution transfer + obsolete

* cuffable

* remove
This commit is contained in:
Kara
2022-07-14 04:45:31 -07:00
committed by GitHub
parent a2d22837c6
commit fab331742a
11 changed files with 163 additions and 241 deletions

View File

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