From c72c1c4f347c36619eab3430bd5b93ae6431c78f Mon Sep 17 00:00:00 2001 From: UpAndLeaves <92269094+Alpha-Two@users.noreply.github.com> Date: Tue, 4 Nov 2025 22:08:22 +0000 Subject: [PATCH] Move TileFireEvent to Shared (#41285) * Move to shared * cleanup --------- Co-authored-by: ArtisticRoomba <145879011+ArtisticRoomba@users.noreply.github.com> --- Content.Server/Atmos/TileFireEvent.cs | 18 ------------------ Content.Shared/Atmos/TileFireEvent.cs | 10 ++++++++++ 2 files changed, 10 insertions(+), 18 deletions(-) delete mode 100644 Content.Server/Atmos/TileFireEvent.cs create mode 100644 Content.Shared/Atmos/TileFireEvent.cs diff --git a/Content.Server/Atmos/TileFireEvent.cs b/Content.Server/Atmos/TileFireEvent.cs deleted file mode 100644 index 5dad4e8fc0..0000000000 --- a/Content.Server/Atmos/TileFireEvent.cs +++ /dev/null @@ -1,18 +0,0 @@ -namespace Content.Server.Atmos -{ - /// - /// Event raised directed to an entity when it is standing on a tile that's on fire. - /// - [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 index 0000000000..f0045f58fd --- /dev/null +++ b/Content.Shared/Atmos/TileFireEvent.cs @@ -0,0 +1,10 @@ +namespace Content.Shared.Atmos; + +/// +/// Event raised on an entity when it is standing on a tile that's on fire. +/// +/// Current temperature of the hotspot this entity is exposed to. +/// Current volume of the hotspot this entity is exposed to. +/// This is not the volume of the tile this entity is on. +[ByRefEvent] +public readonly record struct TileFireEvent(float Temperature, float Volume);