Files
tbd-station-14/Content.Shared/Throwing/IThrown.cs
2022-05-13 17:59:03 +10:00

28 lines
642 B
C#

using JetBrains.Annotations;
namespace Content.Shared.Throwing
{
/// <summary>
/// Raised when throwing the entity in your hands.
/// </summary>
[PublicAPI]
public sealed class ThrownEvent : HandledEntityEventArgs
{
/// <summary>
/// Entity that threw the item.
/// </summary>
public EntityUid User { get; }
/// <summary>
/// Item that was thrown.
/// </summary>
public EntityUid Thrown { get; }
public ThrownEvent(EntityUid user, EntityUid thrown)
{
User = user;
Thrown = thrown;
}
}
}