Esempio n. 1
0
        public void DisableTweak()
        {
            AppSettings.DisableFog = false;
            var proc = ProcessManager.GetGameProcess();

            if (proc != null)
            {
                FogRemover.EnableFog(proc);
            }
        }
 private async Task RemoveFogLoop(Task task, Process ssProc)
 {
     while (!task.IsCompleted)
     {
         if (!AppSettings.DisableFog || FogRemover.DisableFog(ssProc))
         {
             return;
         }
         await Task.Delay(1000);
     }
 }