TabletopStopPlayingEvent.cs 591 B

123456789101112131415161718192021
  1. using Robust.Shared.Serialization;
  2. namespace Content.Shared.Tabletop.Events
  3. {
  4. /// <summary>
  5. /// An event ot tell the server that we have stopped playing this tabletop game.
  6. /// </summary>
  7. [Serializable, NetSerializable]
  8. public sealed class TabletopStopPlayingEvent : EntityEventArgs
  9. {
  10. /// <summary>
  11. /// The entity UID of the table associated with this tabletop game.
  12. /// </summary>
  13. public NetEntity TableUid;
  14. public TabletopStopPlayingEvent(NetEntity tableUid)
  15. {
  16. TableUid = tableUid;
  17. }
  18. }
  19. }