public static void open(GOGGame game) { if (game == null) { return; } GOGGalaxy.open(game.ID); }
private static void launchWinapi(string id) { GOGGalaxy.open(id); IntPtr hwnd = GOGGalaxy.waitForStartup(); WinAPI.SetForegroundWindow(hwnd); WinAPI.Click(hwnd, new System.Drawing.Point(_x, _y)); }