示例#1
0
 /// <summary>Colorizes the given message with the given color.</summary>
 /// <param name="msg">the message to colorize</param>
 /// <param name="colorRgb">the color value</param>
 /// <returns>a colorized string</returns>
 public static string Colorize(string msg, string colorRgb)
 {
     return(ChatUtility.Colorize(msg, colorRgb, true));
 }
示例#2
0
 /// <summary>Colorizes the given message with the given color.</summary>
 /// <param name="msg">the message to colorize</param>
 /// <param name="red">the red color value</param>
 /// <param name="green">the green color value</param>
 /// <param name="blue">the blue color value</param>
 /// <returns>a colorized string</returns>
 public static string Colorize(string msg, string red, string green, string blue)
 {
     return(ChatUtility.Colorize(msg, red, green, blue, true));
 }
示例#3
0
 /// <summary>Colorizes the given message with the given color.</summary>
 /// <param name="msg">the message to colorize</param>
 /// <param name="color">the color value</param>
 /// <returns>a colorized string</returns>
 public static string Colorize(string msg, Color color)
 {
     return(ChatUtility.Colorize(msg, color, true));
 }