* Update RobustToolbox * Transition direct type usages * More updates * Fix invalid use of to map * Update RobustToolbox * Fix dropping items * Rename name usages of "GridCoordinates" to "EntityCoordinates" * Revert "Update RobustToolbox" This reverts commit 9f334a17c5908ded0043a63158bb671e4aa3f346. * Revert "Update RobustToolbox" This reverts commit 3a9c8cfa3606fa501aa84407796d2ad920853a09. # Conflicts: # RobustToolbox * Fix cursed IMapGrid method usage. * GridTileLookupTest now uses EntityCoordinates Co-authored-by: Víctor Aguilera Puerto <6766154+Zumorica@users.noreply.github.com> Co-authored-by: Víctor Aguilera Puerto <zddm@outlook.es>
26 lines
729 B
C#
26 lines
729 B
C#
using System;
|
|
using Robust.Shared.GameObjects;
|
|
using Robust.Shared.Map;
|
|
using Robust.Shared.Serialization;
|
|
|
|
namespace Content.Shared.GameObjects.EntitySystemMessages
|
|
{
|
|
/// <summary>
|
|
/// Requests a drag / drop interaction to be performed
|
|
/// </summary>
|
|
[Serializable, NetSerializable]
|
|
public class DragDropMessage : EntitySystemMessage
|
|
{
|
|
public EntityCoordinates DropLocation { get; }
|
|
public EntityUid Dropped { get; }
|
|
public EntityUid Target { get; }
|
|
|
|
public DragDropMessage(EntityCoordinates dropLocation, EntityUid dropped, EntityUid target)
|
|
{
|
|
DropLocation = dropLocation;
|
|
Dropped = dropped;
|
|
Target = target;
|
|
}
|
|
}
|
|
}
|