22 lines
603 B
C#
22 lines
603 B
C#
using Robust.Shared.Audio;
|
|
using Robust.Shared.GameStates;
|
|
|
|
namespace Content.Shared.Explosion.Components;
|
|
|
|
/// <summary>
|
|
/// Component for tracking active trigger timers. A timers can activated by some other component, e.g. <see cref="OnUseTimerTriggerComponent"/>.
|
|
/// </summary>
|
|
[RegisterComponent]
|
|
public sealed partial class ActiveTimerTriggerComponent : Component
|
|
{
|
|
[DataField] public float TimeRemaining;
|
|
|
|
[DataField] public EntityUid? User;
|
|
|
|
[DataField] public float BeepInterval;
|
|
|
|
[DataField] public float TimeUntilBeep;
|
|
|
|
[DataField] public SoundSpecifier? BeepSound;
|
|
}
|