Remove IUse (#7074)
This commit is contained in:
20
Content.Shared/Interaction/Events/UseInHandEvent.cs
Normal file
20
Content.Shared/Interaction/Events/UseInHandEvent.cs
Normal file
@@ -0,0 +1,20 @@
|
||||
using JetBrains.Annotations;
|
||||
|
||||
namespace Content.Shared.Interaction.Events;
|
||||
|
||||
/// <summary>
|
||||
/// Raised when using the entity in your hands.
|
||||
/// </summary>
|
||||
[PublicAPI]
|
||||
public sealed class UseInHandEvent : HandledEntityEventArgs
|
||||
{
|
||||
/// <summary>
|
||||
/// Entity holding the item in their hand.
|
||||
/// </summary>
|
||||
public EntityUid User { get; }
|
||||
|
||||
public UseInHandEvent(EntityUid user)
|
||||
{
|
||||
User = user;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user