Files
tbd-station-14/Content.Shared/Tabletop/Events/TabletopPlayEvent.cs
2022-05-13 17:59:03 +10:00

25 lines
704 B
C#

using Robust.Shared.Serialization;
namespace Content.Shared.Tabletop.Events
{
/// <summary>
/// An event sent by the server to the client to tell the client to open a tabletop game window.
/// </summary>
[Serializable, NetSerializable]
public sealed class TabletopPlayEvent : EntityEventArgs
{
public EntityUid TableUid;
public EntityUid CameraUid;
public string Title;
public Vector2i Size;
public TabletopPlayEvent(EntityUid tableUid, EntityUid cameraUid, string title, Vector2i size)
{
TableUid = tableUid;
CameraUid = cameraUid;
Title = title;
Size = size;
}
}
}