using System; using Robust.Shared.GameObjects; using Robust.Shared.Map; using Robust.Shared.Serialization; namespace Content.Shared.DragDrop { /// /// Requests a drag / drop interaction to be performed /// [Serializable, NetSerializable] public class DragDropRequestEvent : EntityEventArgs { /// /// Location that the entity was dropped. /// public EntityCoordinates DropLocation { get; } /// /// Entity that was dragged and dropped. /// public EntityUid Dropped { get; } /// /// Entity that was drag dropped on. /// public EntityUid Target { get; } public DragDropRequestEvent(EntityCoordinates dropLocation, EntityUid dropped, EntityUid target) { DropLocation = dropLocation; Dropped = dropped; Target = target; } } }