Move TileFireEvent to Shared (#41285)
* Move to shared * cleanup --------- Co-authored-by: ArtisticRoomba <145879011+ArtisticRoomba@users.noreply.github.com>
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
10
Content.Shared/Atmos/TileFireEvent.cs
Normal file
10
Content.Shared/Atmos/TileFireEvent.cs
Normal file
@@ -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);
|
||||
Reference in New Issue
Block a user