* First commit * Removed pause stuff * Make the event better * Forgot to add the comment * Proto id stuff * cool comments * serializer * Added the time stuff
20 lines
647 B
C#
20 lines
647 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]
|
|
[Access(typeof(SharedTypingIndicatorSystem))]
|
|
public sealed partial class TypingIndicatorComponent : Component
|
|
{
|
|
/// <summary>
|
|
/// Prototype id that store all visual info about typing indicator.
|
|
/// </summary>
|
|
[DataField("proto")]
|
|
public ProtoId<TypingIndicatorPrototype> TypingIndicatorPrototype = "default";
|
|
}
|