Files
tbd-station-14/Content.Client/Chat/ChatHelper.cs

20 lines
548 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.OOC => Color.LightSkyBlue,
ChatChannel.Dead => Color.MediumPurple,
ChatChannel.Admin => Color.Red,
_ => Color.DarkGray
};
}
}