예제 #1
0
        public void Start()
        {
            if (!IsListening)
            {
                IsListening = true;

                LiveDataService.MonitorCurrentScreen(OnScreenUpdated);
                LiveDataService.MonitorFormulae(UpdateFormulae);
                LiveDataService.MonitorSaints(UpdateSaints);
            }
        }
예제 #2
0
 private static void DoListenMenu(string[] args)
 {
     StartLiveDataService(() =>
     {
         LiveDataService.MonitorCurrentScreen(menu =>
         {
             Console.WriteLine();
             Console.WriteLine(menu);
         });
     });
 }