Files
tbd-station-14/Content.Shared/Throwing/IThrown.cs
2022-02-16 18:23:23 +11:00

29 lines
675 B
C#

using JetBrains.Annotations;
using Robust.Shared.GameObjects;
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;
}
}
}