Files
tbd-station-14/Content.Shared/Throwing/BeforeThrowEvent.cs
2022-07-28 09:28:23 +10:00

19 lines
571 B
C#

namespace Content.Shared.Throwing
{
public sealed class BeforeThrowEvent : HandledEntityEventArgs
{
public BeforeThrowEvent(EntityUid itemUid, Vector2 direction, float throwStrength, EntityUid playerUid)
{
ItemUid = itemUid;
Direction = direction;
ThrowStrength = throwStrength;
PlayerUid = playerUid;
}
public EntityUid ItemUid { get; set; }
public Vector2 Direction { get; }
public float ThrowStrength { get; set;}
public EntityUid PlayerUid { get; }
}
}