TabletopPlayEvent.cs 704 B

123456789101112131415161718192021222324
  1. using Robust.Shared.Serialization;
  2. namespace Content.Shared.Tabletop.Events
  3. {
  4. /// <summary>
  5. /// An event sent by the server to the client to tell the client to open a tabletop game window.
  6. /// </summary>
  7. [Serializable, NetSerializable]
  8. public sealed class TabletopPlayEvent : EntityEventArgs
  9. {
  10. public NetEntity TableUid;
  11. public NetEntity CameraUid;
  12. public string Title;
  13. public Vector2i Size;
  14. public TabletopPlayEvent(NetEntity tableUid, NetEntity cameraUid, string title, Vector2i size)
  15. {
  16. TableUid = tableUid;
  17. CameraUid = cameraUid;
  18. Title = title;
  19. Size = size;
  20. }
  21. }
  22. }