Box fixes and Stealth Box in uplink (#12194)

This commit is contained in:
keronshb
2022-11-03 23:16:23 -04:00
committed by GitHub
parent e531db3f7b
commit 84413f2a4c
10 changed files with 86 additions and 8 deletions

View File

@@ -55,4 +55,26 @@ namespace Content.Shared.Interaction
Target = target;
}
}
/// <summary>
/// Reverse of the InteractNoHandEvent - raised on what was interacted on, rather than the other way around.
/// </summary>
public sealed class InteractedNoHandEvent : HandledEntityEventArgs, ITargetedInteractEventArgs
{
/// <summary>
/// Entity that was interacted on
/// </summary>
public EntityUid Target { get; }
/// <summary>
/// Entity that triggered this interaction
/// </summary>
public EntityUid User { get; }
public InteractedNoHandEvent(EntityUid target, EntityUid user)
{
Target = target;
User = user;
}
}
}