Add health analyzer and medical scanner ECS (#6907)

Co-authored-by: fishfish458 <fishfish458>
Co-authored-by: metalgearsloth <comedian_vs_clown@hotmail.com>
This commit is contained in:
Fishfish458
2022-03-07 21:45:52 -06:00
committed by GitHub
parent 68d569f813
commit 7f43f38cc7
24 changed files with 668 additions and 388 deletions

View File

@@ -0,0 +1,27 @@
using Robust.Shared.Serialization;
namespace Content.Shared.MedicalScanner
{
public abstract class SharedHealthAnalyzerComponent : Component
{
/// <summary>
/// On interacting with an entity retrieves the entity UID for use with getting the current damage of the mob.
/// </summary>
[Serializable, NetSerializable]
public sealed class HealthAnalyzerScannedUserMessage : BoundUserInterfaceMessage
{
public readonly EntityUid? TargetEntity;
public HealthAnalyzerScannedUserMessage(EntityUid? targetEntity)
{
TargetEntity = targetEntity;
}
}
[Serializable, NetSerializable]
public enum HealthAnalyzerUiKey : byte
{
Key
}
}
}