Exemple #1
0
        public static void Destroy(bool close = true, bool takeBackup = false, bool backupCompress = false, bool restart = false)
        {
            SystemEvents.SessionEnded     -= SessionEnded;
            SystemEvents.PowerModeChanged -= PowerModeChanged;

            Logging.Clear();
            Logging.WriteLine("The emulator is saving users furniture, rooms, etc. WAIT FOR THE SERVER TO CLOSE, DO NOT EXIT THE PROCESS IN TASK MANAGER!!", ConsoleColor.Red);

            Skylight.Destroy(close, takeBackup, backupCompress, restart);
        }