IW4M-Admin/SharedLibraryCore/Dtos/ChatInfo.cs

18 lines
553 B
C#
Raw Normal View History

2018-03-09 03:01:12 -05:00
using System;
using System.Linq;
using static SharedLibraryCore.Server;
2018-03-09 03:01:12 -05:00
2018-04-08 02:44:42 -04:00
namespace SharedLibraryCore.Dtos
2018-03-09 03:01:12 -05:00
{
public class ChatInfo
{
public int ClientId { get; set; }
2018-03-09 03:01:12 -05:00
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));
2018-03-09 03:01:12 -05:00
}
}