21 lines
539 B
C#
21 lines
539 B
C#
|
|
using Content.Server.Temperature.Systems;
|
||
|
|
|
||
|
|
namespace Content.Server.CrystallPunk.Temperature;
|
||
|
|
|
||
|
|
/// <summary>
|
||
|
|
/// CTurn on and turn off AmbientSound when Flammable OnFire os changed
|
||
|
|
/// </summary>
|
||
|
|
[RegisterComponent, Access(typeof(EntityHeaterSystem))]
|
||
|
|
public sealed partial class CPFlammableAmbientSoundComponent : Component
|
||
|
|
{
|
||
|
|
}
|
||
|
|
|
||
|
|
/// <summary>
|
||
|
|
/// Raised whenever an FlammableComponen OnFire is Changed
|
||
|
|
/// </summary>
|
||
|
|
[ByRefEvent]
|
||
|
|
public readonly record struct OnFireChangedEvent(bool OnFire)
|
||
|
|
{
|
||
|
|
public readonly bool OnFire = OnFire;
|
||
|
|
}
|