Re-organize all projects (#4166)
This commit is contained in:
19
Content.Client/Chat/ChatHelper.cs
Normal file
19
Content.Client/Chat/ChatHelper.cs
Normal file
@@ -0,0 +1,19 @@
|
||||
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.Green,
|
||||
ChatChannel.OOC => Color.LightSkyBlue,
|
||||
ChatChannel.Dead => Color.MediumPurple,
|
||||
ChatChannel.AdminChat => Color.Red,
|
||||
_ => Color.DarkGray
|
||||
};
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user