Typing indicator (typing chat bubble) (#8215)
This commit is contained in:
20
Content.Shared/Chat/TypingIndicator/TypingChangedEvent.cs
Normal file
20
Content.Shared/Chat/TypingIndicator/TypingChangedEvent.cs
Normal 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;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user