Files
tbd-station-14/Content.Shared/Atmos/Piping/Unary/Components/SharedGasThermomachineComponent.cs
metalgearsloth df2257cd92 Predict gasthermomachines (#33837)
* Predict gasthermomachines

* despawn

* smellby
2025-05-13 21:49:43 +10:00

32 lines
674 B
C#

using Robust.Shared.Serialization;
namespace Content.Shared.Atmos.Piping.Unary.Components;
[Serializable, NetSerializable]
public sealed record GasThermoMachineData(float EnergyDelta);
[Serializable]
[NetSerializable]
public enum ThermomachineUiKey : byte
{
Key
}
[Serializable]
[NetSerializable]
public sealed class GasThermomachineToggleMessage : BoundUserInterfaceMessage
{
}
[Serializable]
[NetSerializable]
public sealed class GasThermomachineChangeTemperatureMessage : BoundUserInterfaceMessage
{
public float Temperature { get; }
public GasThermomachineChangeTemperatureMessage(float temperature)
{
Temperature = temperature;
}
}