示例#1
0
 public static string ToBackground(this teColorRGB color)
 {
     return($"\x1b[48;2;{(int) (color.R * 255.0f)};{(int) (color.G * 255.0f)};{(int) (color.B * 255.0f)}m");
 }
示例#2
0
 public ChatChannel(STUChatChannelDefinition channel)
 {
     Name  = GetString(channel.m_chatChannelName);
     Color = channel.m_chatChannelColor;
     Type  = channel.m_chatChannelType;
 }