IW4M-Admin/SharedLibraryCore/Dtos/ChatInfo.cs

18 lines
553 B
C#

using System;
using System.Linq;
using static SharedLibraryCore.Server;
namespace SharedLibraryCore.Dtos
{
public class ChatInfo
{
public int ClientId { get; set; }
public string Message { get; set; }
public DateTime Time { get; set; }
public string Name { get; set; }
public Game ServerGame { get; set; }
public bool IsQuickMessage { get; set; }
public bool IsHidden { get; set; }
public string HiddenMessage => string.Concat(Enumerable.Repeat('●', Message.Length));
}
}