Files
crystall-punk-14/Content.Server/_CP14/Temperature/CPFlammableAmbientSoundComponent.cs

21 lines
539 B
C#
Raw Normal View History

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;
}