2022-05-13 00:59:03 -07:00
|
|
|
|
using Robust.Shared.Serialization;
|
2021-11-04 19:41:56 -05:00
|
|
|
|
|
2024-12-07 14:39:52 +11:00
|
|
|
|
namespace Content.Shared.Atmos.Piping.Binary.Components;
|
2021-11-04 19:41:56 -05:00
|
|
|
|
|
2024-12-07 14:39:52 +11:00
|
|
|
|
[Serializable, NetSerializable]
|
|
|
|
|
|
public enum GasPressurePumpUiKey : byte
|
|
|
|
|
|
{
|
|
|
|
|
|
Key,
|
|
|
|
|
|
}
|
2021-11-04 19:41:56 -05:00
|
|
|
|
|
2024-12-07 14:39:52 +11:00
|
|
|
|
[Serializable, NetSerializable]
|
|
|
|
|
|
public sealed class GasPressurePumpToggleStatusMessage(bool enabled) : BoundUserInterfaceMessage
|
|
|
|
|
|
{
|
|
|
|
|
|
public bool Enabled { get; } = enabled;
|
|
|
|
|
|
}
|
2021-11-04 19:41:56 -05:00
|
|
|
|
|
2024-12-07 14:39:52 +11:00
|
|
|
|
[Serializable, NetSerializable]
|
|
|
|
|
|
public sealed class GasPressurePumpChangeOutputPressureMessage(float pressure) : BoundUserInterfaceMessage
|
|
|
|
|
|
{
|
|
|
|
|
|
public float Pressure { get; } = pressure;
|
2021-11-04 19:41:56 -05:00
|
|
|
|
}
|