Files
tbd-station-14/Content.Shared/Atmos/Piping/Binary/Components/SharedGasVolumePumpComponent.cs
metalgearsloth 72372dc77d Predict gas volume pumps (#33835)
* Predict gas volume pumps

* Also this one

* Review
2025-04-19 11:48:41 +10:00

35 lines
879 B
C#

using Robust.Shared.Serialization;
namespace Content.Shared.Atmos.Piping.Binary.Components
{
public sealed record GasVolumePumpData(float LastMolesTransferred);
[Serializable, NetSerializable]
public enum GasVolumePumpUiKey : byte
{
Key,
}
[Serializable, NetSerializable]
public sealed class GasVolumePumpToggleStatusMessage : BoundUserInterfaceMessage
{
public bool Enabled { get; }
public GasVolumePumpToggleStatusMessage(bool enabled)
{
Enabled = enabled;
}
}
[Serializable, NetSerializable]
public sealed class GasVolumePumpChangeTransferRateMessage : BoundUserInterfaceMessage
{
public float TransferRate { get; }
public GasVolumePumpChangeTransferRateMessage(float transferRate)
{
TransferRate = transferRate;
}
}
}