Exemple #1
0
 private async void GameStateGetter()
 {
     //int beforeFrame;
     while (true)
     {
         IsGamePause = MemoryReader.IsPause();
         //beforeFrame = GameFrame;
         GameFrame = MemoryReader.GetFrame();
         //System.Diagnostics.Debug.WriteLine($"Frame Gap: {GameFrame - beforeFrame}");
         //System.Diagnostics.Debug.WriteLine($"GameFrame: {GameFrame}");
         InputOffset = MemoryReader.GetInputOffset();
         await Task.Delay(100);
     }
 }