using Robust.Shared.Map; using Robust.Shared.Serialization; namespace Content.Shared.Medical.SuitSensor { [Serializable, NetSerializable] public sealed class SuitSensorStatus { public SuitSensorStatus(string name, string job) { Name = name; Job = job; } public TimeSpan Timestamp; public string Name; public string Job; public bool IsAlive; public int? TotalDamage; public EntityCoordinates? Coordinates; } [Serializable, NetSerializable] public enum SuitSensorMode : byte { /// /// Sensor doesn't send any information about owner /// SensorOff = 0, /// /// Sensor sends only binary status (alive/dead) /// SensorBinary = 1, /// /// Sensor sends health vitals status /// SensorVitals = 2, /// /// Sensor sends vitals status and GPS position /// SensorCords = 3 } public static class SuitSensorConstants { public const string NET_NAME = "name"; public const string NET_JOB = "job"; public const string NET_IS_ALIVE = "alive"; public const string NET_TOTAL_DAMAGE = "vitals"; public const string NET_CORDINATES = "cords"; } }