Files
tbd-station-14/Content.Shared/Chat/TypingIndicator/TypingChangedEvent.cs
2022-08-25 23:44:43 +10:00

19 lines
444 B
C#

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 bool IsTyping;
public TypingChangedEvent(bool isTyping)
{
IsTyping = isTyping;
}
}