From: Ɓukasz Lindert Date: Tue, 15 Jul 2025 22:06:48 +0000 (+0200) Subject: PressureEvent removed (dead code) (#39004) X-Git-Url: https://git.smokeofanarchy.ru/gitweb.cgi?a=commitdiff_plain;h=377c9bfceafe938059faf80a2ec63f11805a2def;p=space-station-14.git PressureEvent removed (dead code) (#39004) yep --- diff --git a/Content.Server/Atmos/PressureEvent.cs b/Content.Server/Atmos/PressureEvent.cs deleted file mode 100644 index 9c0b36a281..0000000000 --- a/Content.Server/Atmos/PressureEvent.cs +++ /dev/null @@ -1,44 +0,0 @@ -namespace Content.Server.Atmos -{ - public abstract class PressureEvent : EntityEventArgs - { - /// - /// The environment pressure. - /// - public float Pressure { get; } - - /// - /// The modifier for the apparent pressure. - /// This number will be added to the environment pressure for calculation purposes. - /// It can be negative to reduce the felt pressure, or positive to increase it. - /// - /// - /// Do not set this directly. Add to it, or subtract from it to modify it. - /// - public float Modifier { get; set; } = 0f; - - /// - /// The multiplier for the apparent pressure. - /// The environment pressure will be multiplied by this for calculation purposes. - /// - /// - /// Do not set, add to or subtract from this directly. Multiply this by your multiplier only. - /// - public float Multiplier { get; set; } = 1f; - - protected PressureEvent(float pressure) - { - Pressure = pressure; - } - } - - public sealed class LowPressureEvent : PressureEvent - { - public LowPressureEvent(float pressure) : base(pressure) { } - } - - public sealed class HighPressureEvent : PressureEvent - { - public HighPressureEvent(float pressure) : base(pressure) { } - } -}