]> git.smokeofanarchy.ru Git - space-station-14.git/commitdiff
Move TileFireEvent to Shared (#41285)
authorUpAndLeaves <92269094+Alpha-Two@users.noreply.github.com>
Tue, 4 Nov 2025 22:08:22 +0000 (22:08 +0000)
committerGitHub <noreply@github.com>
Tue, 4 Nov 2025 22:08:22 +0000 (22:08 +0000)
* Move to shared

* cleanup

---------

Co-authored-by: ArtisticRoomba <145879011+ArtisticRoomba@users.noreply.github.com>
Content.Server/Atmos/TileFireEvent.cs [deleted file]
Content.Shared/Atmos/TileFireEvent.cs [new file with mode: 0644]

diff --git a/Content.Server/Atmos/TileFireEvent.cs b/Content.Server/Atmos/TileFireEvent.cs
deleted file mode 100644 (file)
index 5dad4e8..0000000
+++ /dev/null
@@ -1,18 +0,0 @@
-namespace Content.Server.Atmos
-{
-    /// <summary>
-    ///     Event raised directed to an entity when it is standing on a tile that's on fire.
-    /// </summary>
-    [ByRefEvent]
-    public readonly struct TileFireEvent
-    {
-        public readonly float Temperature;
-        public readonly float Volume;
-
-        public TileFireEvent(float temperature, float volume)
-        {
-            Temperature = temperature;
-            Volume = volume;
-        }
-    }
-}
diff --git a/Content.Shared/Atmos/TileFireEvent.cs b/Content.Shared/Atmos/TileFireEvent.cs
new file mode 100644 (file)
index 0000000..f0045f5
--- /dev/null
@@ -0,0 +1,10 @@
+namespace Content.Shared.Atmos;
+
+/// <summary>
+/// Event raised on an entity when it is standing on a tile that's on fire.
+/// </summary>
+/// <param name="Temperature">Current temperature of the hotspot this entity is exposed to.</param>
+/// <param name="Volume">Current volume of the hotspot this entity is exposed to.
+/// This is not the volume of the tile this entity is on.</param>
+[ByRefEvent]
+public readonly record struct TileFireEvent(float Temperature, float Volume);