using Content.Server.Body.Systems; namespace Content.Server.Body.Components; [RegisterComponent] [Access(typeof(ThermalRegulatorSystem))] public sealed class ThermalRegulatorComponent : Component { /// /// Heat generated due to metabolism. It's generated via metabolism /// [ViewVariables] [DataField("metabolismHeat")] public float MetabolismHeat { get; private set; } /// /// Heat output via radiation. /// [ViewVariables] [DataField("radiatedHeat")] public float RadiatedHeat { get; private set; } /// /// Maximum heat regulated via sweat /// [ViewVariables] [DataField("sweatHeatRegulation")] public float SweatHeatRegulation { get; private set; } /// /// Maximum heat regulated via shivering /// [ViewVariables] [DataField("shiveringHeatRegulation")] public float ShiveringHeatRegulation { get; private set; } /// /// Amount of heat regulation that represents thermal regulation processes not /// explicitly coded. /// [DataField("implicitHeatRegulation")] public float ImplicitHeatRegulation { get; private set; } /// /// Normal body temperature /// [ViewVariables] [DataField("normalBodyTemperature")] public float NormalBodyTemperature { get; private set; } /// /// Deviation from normal temperature for body to start thermal regulation /// [DataField("thermalRegulationTemperatureThreshold")] public float ThermalRegulationTemperatureThreshold { get; private set; } public float AccumulatedFrametime; }