Files
2022-03-13 19:47:28 +11:00

21 lines
518 B
C#

using JetBrains.Annotations;
namespace Content.Shared.Interaction.Events;
/// <summary>
/// Raised when an entity is dropped from a users hands, or directly removed from a users inventory, but not when moved between hands & inventory.
/// </summary>
[PublicAPI]
public sealed class DroppedEvent : HandledEntityEventArgs
{
/// <summary>
/// Entity that dropped the item.
/// </summary>
public EntityUid User { get; }
public DroppedEvent(EntityUid user)
{
User = user;
}
}