1
0

LandEvent.cs 505 B

12345678910111213141516
  1. namespace Content.Shared.Throwing
  2. {
  3. /// <summary>
  4. /// Raised when an entity that was thrown lands. This occurs before they stop moving and is when their tile-friction is reapplied.
  5. /// </summary>
  6. [ByRefEvent]
  7. public readonly record struct LandEvent(EntityUid? User, bool PlaySound);
  8. /// <summary>
  9. /// Raised when a thrown entity is no longer moving.
  10. /// </summary>
  11. public sealed class StopThrowEvent : EntityEventArgs
  12. {
  13. public EntityUid? User;
  14. }
  15. }