Files
Delta-v/Content.Shared/Atmos/Piping/Binary/Components/SharedGasPressureRegulatorComponent.cs
T
a25e223a61 Ports the pressure release valve and construction atmos device layering from upstream (#4452)
* Change 'Departamental' to 'Departmental'

* Undo typo fixes for comments

* Add pipe layering

* Add the pressure release valve

* Add the pressure release valve

* Fix the gas pump

* Fix the signal valve appearing thrice

* Fix the signal valve appearing thrice

---------

Co-authored-by: Boaz1111 <149967078+Boaz1111@users.noreply.github.com>
Co-authored-by: ArtisticRoomba <145879011+ArtisticRoomba@users.noreply.github.com>
2025-10-06 12:02:52 +11:00

26 lines
721 B
C#

using Robust.Shared.Serialization;
namespace Content.Shared.Atmos.Piping.Binary.Components;
/// <summary>
/// Represents the unique key for the UI.
/// </summary>
[Serializable, NetSerializable]
public enum GasPressureRegulatorUiKey : byte
{
Key,
}
/// <summary>
/// Message sent to change the pressure threshold of the gas pressure regulator.
/// </summary>
/// <param name="pressure">The new pressure threshold value.</param>
[Serializable, NetSerializable]
public sealed class GasPressureRegulatorChangeThresholdMessage(float pressure) : BoundUserInterfaceMessage
{
/// <summary>
/// Gets the new threshold pressure value.
/// </summary>
public float ThresholdPressure { get; } = pressure;
}