Typing indicator (typing chat bubble) (#8215)

This commit is contained in:
Alex Evgrashin
2022-05-17 12:55:19 +03:00
committed by GitHub
parent 2557e45662
commit af926c5279
55 changed files with 678 additions and 0 deletions

View File

@@ -0,0 +1,20 @@
using Robust.Shared.Serialization;
namespace Content.Shared.Chat.TypingIndicator;
/// <summary>
/// Networked event from client.
/// Send to server when client started/stopped typing in chat input field.
/// </summary>
[Serializable, NetSerializable]
public sealed class TypingChangedEvent : EntityEventArgs
{
public readonly EntityUid Uid;
public readonly bool IsTyping;
public TypingChangedEvent(EntityUid uid, bool isTyping)
{
Uid = uid;
IsTyping = isTyping;
}
}