Files
OldThink/Content.Client/Body/Components/BodyComponent.cs

22 lines
517 B
C#
Raw Normal View History

2021-06-09 22:19:39 +02:00
using Content.Shared.Body.Components;
using Content.Shared.DragDrop;
using Robust.Shared.GameObjects;
2021-06-09 22:19:39 +02:00
namespace Content.Client.Body.Components
{
[RegisterComponent]
[ComponentReference(typeof(SharedBodyComponent))]
public sealed class BodyComponent : SharedBodyComponent, IDraggable
{
bool IDraggable.CanStartDrag(StartDragDropEvent args)
{
return true;
}
bool IDraggable.CanDrop(CanDropEvent args)
{
return true;
}
}
}