32 lines
674 B
C#
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;
|
|
}
|
|
}
|