private void LaunchGame()
        {
            bool directoryExists = CheckGameDirectory();

            if (!directoryExists)
            {
                SetGameDirectory();
            }
            iconInteractionUtility.InitializeGame(Properties.Settings.Default.GameDirectory);
            gameInitializeTimer.Change(50, System.Threading.Timeout.Infinite);
        }
Пример #2
0
        private void LaunchGame()
        {
            bool directoryExists = CheckGameDirectory();

            if (!directoryExists)
            {
                SetGameDirectory();
            }

            LoadMainView();
            //logService.Info("Launching game...");
            //IconInteractionUtility.RunCOHAndLoadDLL(Module.Shared.Settings.Default.CityOfHeroesGameDirectory);
            IconInteractionUtility.InitializeGame(Module.Shared.Settings.Default.CityOfHeroesGameDirectory);
            gameInitializeTimer.Change(50, System.Threading.Timeout.Infinite);
        }