20 lines
548 B
C#
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
|
|
};
|
|
}
|
|
}
|