Files
OldThink/Content.Shared/Throwing/IThrown.cs

28 lines
642 B
C#
Raw Normal View History

using JetBrains.Annotations;
2021-06-09 22:19:39 +02:00
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>
2021-12-04 12:35:33 +01:00
public EntityUid User { get; }
/// <summary>
/// Item that was thrown.
/// </summary>
2021-12-04 12:35:33 +01:00
public EntityUid Thrown { get; }
2021-12-04 12:35:33 +01:00
public ThrownEvent(EntityUid user, EntityUid thrown)
{
User = user;
Thrown = thrown;
}
}
}