namespace Content.Server.SurveillanceCamera;
///
/// This allows surveillance cameras to speak, if the camera in question
/// has a microphone that listens to speech.
///
[RegisterComponent]
public sealed class SurveillanceCameraSpeakerComponent : Component
{
// mostly copied from Speech
[DataField("speechEnabled")] public bool SpeechEnabled = true;
[ViewVariables] public float SpeechSoundCooldown = 0.5f;
[ViewVariables] public readonly Queue LastSpokenNames = new();
public TimeSpan LastSoundPlayed = TimeSpan.Zero;
}