Got rid of some IEntities
This commit is contained in:
@@ -61,19 +61,19 @@ namespace Content.Shared.DragDrop
|
||||
/// <summary>
|
||||
/// Entity doing the drag and drop.
|
||||
/// </summary>
|
||||
public IEntity User { get; }
|
||||
public EntityUid User { get; }
|
||||
|
||||
/// <summary>
|
||||
/// Entity that is being dragged.
|
||||
/// </summary>
|
||||
public IEntity Dragged { get; }
|
||||
public EntityUid Dragged { get; }
|
||||
|
||||
/// <summary>
|
||||
/// Creates a new instance of <see cref="StartDragDropEvent"/>.
|
||||
/// </summary>
|
||||
/// <param name="user">The entity doing the drag and drop.</param>
|
||||
/// <param name="dragged">The entity that is being dragged and dropped.</param>
|
||||
public StartDragDropEvent(IEntity user, IEntity dragged)
|
||||
public StartDragDropEvent(EntityUid user, EntityUid dragged)
|
||||
{
|
||||
User = user;
|
||||
Dragged = dragged;
|
||||
@@ -83,10 +83,10 @@ namespace Content.Shared.DragDrop
|
||||
public class CanDropEvent : StartDragDropEvent
|
||||
{
|
||||
/// <summary>
|
||||
/// The entity that <see cref="StartDragDropEvent.Dragged"/>
|
||||
/// The entity uid that <see cref="StartDragDropEvent.Dragged"/>
|
||||
/// is being dropped onto.
|
||||
/// </summary>
|
||||
public IEntity Target { get; }
|
||||
public EntityUid Target { get; }
|
||||
|
||||
/// <summary>
|
||||
/// Creates a new instance of <see cref="CanDropEvent"/>.
|
||||
@@ -94,7 +94,7 @@ namespace Content.Shared.DragDrop
|
||||
/// <param name="user">The entity doing the drag and drop.</param>
|
||||
/// <param name="dragged">The entity that is being dragged and dropped.</param>
|
||||
/// <param name="target">The entity that <see cref="dropped"/> is being dropped onto.</param>
|
||||
public CanDropEvent(IEntity user, IEntity dragged, IEntity target) : base(user, dragged)
|
||||
public CanDropEvent(EntityUid user, EntityUid dragged, EntityUid target) : base(user, dragged)
|
||||
{
|
||||
Target = target;
|
||||
}
|
||||
@@ -115,7 +115,7 @@ namespace Content.Shared.DragDrop
|
||||
/// <param name="dropLocation">The location where <see cref="dropped"/> is being dropped.</param>
|
||||
/// <param name="dragged">The entity that is being dragged and dropped.</param>
|
||||
/// <param name="target">The entity that <see cref="dropped"/> is being dropped onto.</param>
|
||||
public DragDropEvent(IEntity user, EntityCoordinates dropLocation, IEntity dragged, IEntity target) : base(user, dragged, target)
|
||||
public DragDropEvent(EntityUid user, EntityCoordinates dropLocation, EntityUid dragged, EntityUid target) : base(user, dragged, target)
|
||||
{
|
||||
DropLocation = dropLocation;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user