Files
crystall-punk-14/Content.Server/_CP14/Temperature/CP14FlammableAmbientSoundComponent.cs
2024-04-20 12:45:25 +03:00

21 lines
534 B
C#

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