Example #1
0
        public static bool IsGameOnDisplay()
        {
            string windowTitle = NativeImport.GetActiveWindowTitle();

            if (windowTitle != null)
            {
                if (windowTitle.Contains("Turbo AOW Engine"))
                {
                    return(true);
                }
            }

            return(false);
        }
Example #2
0
 public static bool IsGameOnDisplay()
 {
     return(NativeImport.GetActiveWindowTitle() == "League of Legends (TM) Client");
 }
Example #3
0
 public static bool IsGameOnDisplay()
 {
     //TODO: HWND Locking up on League's HWND
     return(NativeImport.GetActiveWindowTitle() == "League of Legends (TM) Client");
 }