1
0

TryingToSleepEvent.cs 270 B

12345678
  1. namespace Content.Shared.Bed.Sleep;
  2. /// <summary>
  3. /// Raised by an entity about to fall asleep.
  4. /// Set Cancelled to true on event handling to interrupt
  5. /// </summary>
  6. [ByRefEvent]
  7. public record struct TryingToSleepEvent(EntityUid uid, bool Cancelled = false);