using Content.Shared.Tabletop.Components; using Robust.Shared.Map; using Robust.Shared.Serialization; namespace Content.Shared.Tabletop.Events { /// /// An event that is sent to the server every so often by the client to tell where an entity with a /// has been moved. /// [Serializable, NetSerializable] public sealed class TabletopMoveEvent : EntityEventArgs { /// /// The UID of the entity being moved. /// public NetEntity MovedEntityUid { get; } /// /// The new coordinates of the entity being moved. /// public MapCoordinates Coordinates { get; } /// /// The UID of the table the entity is being moved on. /// public NetEntity TableUid { get; } public TabletopMoveEvent(NetEntity movedEntityUid, MapCoordinates coordinates, NetEntity tableUid) { MovedEntityUid = movedEntityUid; Coordinates = coordinates; TableUid = tableUid; } } }