2023-04-03 13:13:48 +12:00
|
|
|
using Content.Shared.DoAfter;
|
2022-03-07 21:45:52 -06:00
|
|
|
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
|
|
|
|
|
}
|
|
|
|
|
}
|
2023-04-03 13:13:48 +12:00
|
|
|
|
|
|
|
|
[Serializable, NetSerializable]
|
|
|
|
|
public sealed class HealthAnalyzerDoAfterEvent : SimpleDoAfterEvent
|
|
|
|
|
{
|
|
|
|
|
}
|
2022-03-07 21:45:52 -06:00
|
|
|
}
|