using Robust.Shared.Serialization; namespace Content.Shared.Tabletop.Events { /// /// Event to tell other clients that we are dragging this item. Necessery to handle multiple users /// trying to move a single item at the same time. /// [Serializable, NetSerializable] public sealed class TabletopDraggingPlayerChangedEvent : EntityEventArgs { /// /// The UID of the entity being dragged. /// public NetEntity DraggedEntityUid; public bool IsDragging; public TabletopDraggingPlayerChangedEvent(NetEntity draggedEntityUid, bool isDragging) { DraggedEntityUid = draggedEntityUid; IsDragging = isDragging; } } }