using System;
using Robust.Shared.GameObjects;
using Robust.Shared.Network;
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 class TabletopDraggingPlayerChangedEvent : EntityEventArgs
{
///
/// The UID of the entity being dragged.
///
public EntityUid DraggedEntityUid;
///
/// The NetUserID of the player that is now dragging the item.
///
public NetUserId? DraggingPlayer;
public TabletopDraggingPlayerChangedEvent(EntityUid draggedEntityUid, NetUserId? draggingPlayer)
{
DraggedEntityUid = draggedEntityUid;
DraggingPlayer = draggingPlayer;
}
}
}