Files
crystall-punk-14/Content.Shared/Throwing/LandEvent.cs

17 lines
505 B
C#
Raw Permalink Normal View History

2021-06-09 22:19:39 +02:00
namespace Content.Shared.Throwing
{
/// <summary>
/// Raised when an entity that was thrown lands. This occurs before they stop moving and is when their tile-friction is reapplied.
/// </summary>
2023-01-18 05:25:32 +11:00
[ByRefEvent]
2023-05-19 17:10:31 +10:00
public readonly record struct LandEvent(EntityUid? User, bool PlaySound);
/// <summary>
/// Raised when a thrown entity is no longer moving.
/// </summary>
public sealed class StopThrowEvent : EntityEventArgs
{
public EntityUid? User;
}
}