// Token: 0x06000020 RID: 32 RVA: 0x000028FC File Offset: 0x00000AFC public static void Load() { ConsoleUtils.AllocConsole(); Console.SetOut(new StreamWriter(Console.OpenStandardOutput()) { AutoFlush = true }); Console.SetIn(new StreamReader(Console.OpenStandardInput())); Console.Clear(); Console.WriteLine("Created by Pik"); ConsoleUtils.ShowConsole(); }
// Token: 0x06000021 RID: 33 RVA: 0x00002948 File Offset: 0x00000B48 public static string AskInput(string question) { ConsoleUtils.ShowConsole(); Console.Write(question); while (Console.KeyAvailable) { Console.ReadKey(); } string text = Console.ReadLine(); if (!(text == string.Empty)) { return(text); } return(null); }