Пример #1
0
        private void SetServerInfo(ServerFileInfo serverInfo)
        {
            mData.serverVersionInfo = new ServerVersionInfo();

                        #if LOCAL_RES_SERVER
            RequestLocalResServerInfo();
                        #else
            mData.serverVersionInfo.md5 = serverInfo.md5;
            mData.serverRootPath        = serverInfo.path;
            mData.serverFileListName    = serverInfo.fileListName;
//			mData.serverIp = App.ProxyMgr.ApplicationProxy.ResourceServerIp;
            EnterState(FileDownloadStateId.CheckPersistentInfo);
                        #endif
        }
Пример #2
0
 public void BeginSynchronize(ServerFileInfo serverInfo, System.Action hdlFinish)
 {
     mFinishHdl = hdlFinish;
     SetServerInfo(serverInfo);
 }