TypingIndicatorComponent.cs 647 B

12345678910111213141516171819
  1. using Robust.Shared.GameStates;
  2. using Robust.Shared.Prototypes;
  3. namespace Content.Shared.Chat.TypingIndicator;
  4. /// <summary>
  5. /// Show typing indicator icon when player typing text in chat box.
  6. /// Added automatically when player poses entity.
  7. /// </summary>
  8. [RegisterComponent, NetworkedComponent]
  9. [Access(typeof(SharedTypingIndicatorSystem))]
  10. public sealed partial class TypingIndicatorComponent : Component
  11. {
  12. /// <summary>
  13. /// Prototype id that store all visual info about typing indicator.
  14. /// </summary>
  15. [DataField("proto")]
  16. public ProtoId<TypingIndicatorPrototype> TypingIndicatorPrototype = "default";
  17. }