using System; using System.Diagnostics; using System.Text; using System.Threading; using System.IO; namespace Holo { public static class Out { public static void WriteLine(string logText) { Console.ForegroundColor = ConsoleColor.White; Console.Write("» "); Console.ForegroundColor = ConsoleColor.Green; Console.WriteLine(logText); } public static void WriteLine(string logText, ConsoleColor ColorOne) { Console.ForegroundColor = ConsoleColor.White; Console.Write("» "); Console.ForegroundColor = ColorOne; Console.WriteLine(logText); if (Eucalypt.remoteConnection) Holo.Socketservers.remoteSocketServer.replyConnection.sendData("RMWL" + Convert.ToChar(2) + logText); } public static void WriteError(string logText) { Console.ForegroundColor = ConsoleColor.White; Console.Write("» "); Console.ForegroundColor = ConsoleColor.Red; Console.WriteLine(logText); if (Eucalypt.remoteConnection) Holo.Socketservers.remoteSocketServer.replyConnection.sendData("RMWE" + Convert.ToChar(2) + logText); } public static void WriteAlert(string logText) { Console.ForegroundColor = ConsoleColor.White; Console.Write("» "); Console.ForegroundColor = ConsoleColor.Yellow; Console.WriteLine(logText); if (Eucalypt.remoteConnection) Holo.Socketservers.remoteSocketServer.replyConnection.sendData("RMWA" + Convert.ToChar(2) + logText); } public static void WritePlain(string logText) { Console.ForegroundColor = ConsoleColor.Gray; Console.WriteLine(logText); } public static void WriteBlank() { Console.WriteLine(); } public static void Clean() { Console.Clear(); Out.WritePlain(" ▄▀▄▀▄▀▄▀▄▀▄▀▄▀▄▀▄▀▄▀▄▀▄▀▄▀▄▀▄▀▄▀▄▀▄▀\n ▄▀ ▄▀ \n ▄▀ [©] [©] [©][©][©] ▄▀ \n ▄▀ [©] [©] [©] ▄▀ \n ▄▀ [©][©][©] [©][©][©] ▄▀ \n ▄▀ [©] [©] [©] ▄▀ \n ▄▀ [©] [©] [©][©][©] ▄▀ \n ▄▀ ▄▀ \n ▄▀▄▀▄▀▄▀▄▀▄▀▄▀▄▀▄▀▄▀▄▀▄▀▄▀▄▀▄▀▄▀▄▀▄▀"); Out.WritePlain(""); } } }