public void ResetServer() { if (scenarioState != ScenarioState.STOPPED) { StopScenario(false); } if (replayState != ScenarioState.STOPPED) { StopReplay(); } if (ServerOptions.EventLogType != "NOLOG") { simEngine.StopReplayLogger(); } simEngine.StopTextChatServer(); simEngine.StopWhiteboardServer(); simEngine.StopVoiceServer(); simEngine.Reset(); currentTime = 0; isReady = false; log = String.Empty; }