Cloning Rework (#8972)

Co-authored-by: fishfish458 <fishfish458>
This commit is contained in:
Rane
2022-08-04 00:05:17 -04:00
committed by GitHub
parent 37f9e825ea
commit 2f4849eae1
41 changed files with 928 additions and 1227 deletions

View File

@@ -1,17 +1,15 @@
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 const string ScannerPort = "MedicalScannerReceiver";
public ContainerSlot BodyContainer = default!;
public BoundUserInterface? UserInterface => Owner.GetUIOrNull(MedicalScannerUiKey.Key);
public EntityUid? ConnectedConsole;
// ECS this out!, when DragDropSystem and InteractionSystem refactored
public override bool DragDropOn(DragDropEvent eventArgs)