21 lines
432 B
C#
21 lines
432 B
C#
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;
|
|
}
|
|
}
|