示例#1
0
        private void StartRemoteConsole(int port)
        {
            StopRemoteConsole();

            _remoteConsole = new RemoteConsole(port);
            _remoteConsole.SetListener(new CryEngineConsoleListener());
            _remoteConsole.Start();
        }
示例#2
0
 private void StopRemoteConsole()
 {
     if (_remoteConsole != null)
     {
         _remoteConsole.Stop();
         _remoteConsole.Dispose();
         _remoteConsole = null;
     }
 }