public void DoUpdate(FdoCache cache, string sFxtPath, ref XmlDocument dom) { //Trace.WriteLine("Retriever.DoUpdate: entering"); using (XUpdater fxtUpdater = new XUpdater(cache, sFxtPath)) { //Trace.WriteLine("Retriever.DoUpdate: updating"); dom = fxtUpdater.UpdateFXTResult(m_changedItems, dom); } //Trace.WriteLine("Retriever.DoUpdate: exiting"); }
/// <summary> /// Start this instance. /// </summary> IEnumerator Start() { yield return(ResetReporter()); yield return(InitBootstrap()); yield return(StartCoroutine(XUpdater.DoUpdate(delegate(XUpdater.Stage stage, float progress, string message) { }))); XCameraHelper.Initializ(); XTcpServer.GetSingleton().Initliaze(); // init slua InitSLua(delegate(int progress) { GameObject.DontDestroyOnLoad(gameObject); }); }