6
StarHorizon_Public/Content.Shared/MedicalScanner/HealthAnalyzerScannedUserMessage.cs
2025-12-13 13:46:17 +03:00

31 lines
1.0 KiB
C#

using Robust.Shared.Serialization;
namespace Content.Shared.MedicalScanner;
/// <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 NetEntity? TargetEntity;
public float Temperature;
public float BloodLevel;
public bool? ScanMode;
public bool? Bleeding;
public bool? Unrevivable;
public bool? Unclonable; // Frontier
public HealthAnalyzerScannedUserMessage(NetEntity? targetEntity, float temperature, float bloodLevel, bool? scanMode, bool? bleeding, bool? unrevivable, bool? unclonable) // Frontier: added unclonable
{
TargetEntity = targetEntity;
Temperature = temperature;
BloodLevel = bloodLevel;
ScanMode = scanMode;
Bleeding = bleeding;
Unrevivable = unrevivable;
Unclonable = unclonable; // Frontier
}
}