Files
tbd-station-14/Content.Client/Chat/ChatHelper.cs
2022-01-14 23:28:09 +11:00

22 lines
663 B
C#

using Content.Shared.Chat;
using Robust.Shared.Maths;
namespace Content.Client.Chat
{
public class ChatHelper
{
public static Color ChatColor(ChatChannel channel) =>
channel switch
{
ChatChannel.Server => Color.Orange,
ChatChannel.Radio => Color.LimeGreen,
ChatChannel.LOOC => Color.MediumTurquoise,
ChatChannel.OOC => Color.LightSkyBlue,
ChatChannel.Dead => Color.MediumPurple,
ChatChannel.Admin => Color.Red,
ChatChannel.Whisper => Color.DarkGray,
_ => Color.LightGray
};
}
}