2021-06-09 22:19:39 +02:00
|
|
|
namespace Content.Shared.Throwing
|
2020-07-06 14:27:03 -07:00
|
|
|
{
|
|
|
|
|
/// <summary>
|
2021-09-29 00:16:00 +10:00
|
|
|
/// Raised when an entity that was thrown lands. This occurs before they stop moving and is when their tile-friction is reapplied.
|
2020-07-06 14:27:03 -07:00
|
|
|
/// </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);
|
2020-07-06 14:27:03 -07:00
|
|
|
|
2021-09-29 00:16:00 +10:00
|
|
|
/// <summary>
|
|
|
|
|
/// Raised when a thrown entity is no longer moving.
|
|
|
|
|
/// </summary>
|
|
|
|
|
public sealed class StopThrowEvent : EntityEventArgs
|
|
|
|
|
{
|
|
|
|
|
public EntityUid? User;
|
2020-07-06 14:27:03 -07:00
|
|
|
}
|
|
|
|
|
}
|