Пример #1
0
        private static void LaunchNWN2Main()
        {
            string ipAddress = NWNXServer.GetLocalIPAddress();
            //TODO: set the Direct Connect IP = ipAddress, set Direct Connect Password to empty string in nwn2player.ini
            Process nwLauncher = new Process();

            nwLauncher.StartInfo.FileName = NWN2Paths.NWN2MainPath + "\\nwLauncher.exe";
            nwLauncher.Start();
            //TODO: trigger event to main window so as to hide NWN2CC window
        }