2022-08-26 01:44:43 +12:00
|
|
|
using Robust.Shared.Serialization;
|
2022-05-17 12:55:19 +03:00
|
|
|
|
|
|
|
|
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 bool IsTyping;
|
|
|
|
|
|
2022-08-26 01:44:43 +12:00
|
|
|
public TypingChangedEvent(bool isTyping)
|
2022-05-17 12:55:19 +03:00
|
|
|
{
|
|
|
|
|
IsTyping = isTyping;
|
|
|
|
|
}
|
|
|
|
|
}
|