ActiveListenerComponent.cs 343 B

12345678910111213
  1. using Content.Server.Chat.Systems;
  2. namespace Content.Server.Speech.Components;
  3. /// <summary>
  4. /// This component is used to relay speech events to other systems.
  5. /// </summary>
  6. [RegisterComponent]
  7. public sealed partial class ActiveListenerComponent : Component
  8. {
  9. [DataField("range")]
  10. public float Range = ChatSystem.VoiceRange;
  11. }