Files
tbd-station-14/Content.Shared/Chat/TypingIndicator/TypingIndicatorComponent.cs
2025-08-07 16:00:35 +02:00

20 lines
695 B
C#

using Robust.Shared.GameStates;
using Robust.Shared.Prototypes;
namespace Content.Shared.Chat.TypingIndicator;
/// <summary>
/// Show typing indicator icon when player typing text in chat box.
/// Added automatically when player poses entity.
/// </summary>
[RegisterComponent, NetworkedComponent, AutoGenerateComponentState]
[Access(typeof(SharedTypingIndicatorSystem))]
public sealed partial class TypingIndicatorComponent : Component
{
/// <summary>
/// Prototype id that store all visual info about typing indicator.
/// </summary>
[DataField("proto"), AutoNetworkedField]
public ProtoId<TypingIndicatorPrototype> TypingIndicatorPrototype = "default";
}