public void StopServer() { LoopProcessor.Stop(); NetMgr.Server.Shutdown(string.Empty); EventMgr.ThrowEvent(this, new OnGameStop()); }