예제 #1
0
        public void EnableTweak()
        {
            AppSettings.DisableFog = true;
            var proc = ProcessManager.GetGameProcess();

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