private void StartRemoteConsole(int port) { StopRemoteConsole(); _remoteConsole = new RemoteConsole(port); _remoteConsole.SetListener(new CryEngineConsoleListener()); _remoteConsole.Start(); }
private void StopRemoteConsole() { if (_remoteConsole != null) { _remoteConsole.Stop(); _remoteConsole.Dispose(); _remoteConsole = null; } }