Files
tbd-station-14/Content.Server/Medical/Components/MedicalScannerComponent.cs
Fishfish458 7f43f38cc7 Add health analyzer and medical scanner ECS (#6907)
Co-authored-by: fishfish458 <fishfish458>
Co-authored-by: metalgearsloth <comedian_vs_clown@hotmail.com>
2022-03-08 14:45:52 +11:00

23 lines
739 B
C#

using Content.Server.UserInterface;
using Content.Shared.DragDrop;
using Content.Shared.MedicalScanner;
using Robust.Server.GameObjects;
using Robust.Shared.Containers;
namespace Content.Server.Medical.Components
{
[RegisterComponent]
[ComponentReference(typeof(SharedMedicalScannerComponent))]
public sealed class MedicalScannerComponent : SharedMedicalScannerComponent
{
public ContainerSlot BodyContainer = default!;
public BoundUserInterface? UserInterface => Owner.GetUIOrNull(MedicalScannerUiKey.Key);
// ECS this out!, when DragDropSystem and InteractionSystem refactored
public override bool DragDropOn(DragDropEvent eventArgs)
{
return true;
}
}
}