public override void OnEnter(BaseFlow oldFlow) { base.OnEnter(oldFlow); //转移过资源,xml就从storePath取。否则从包内取 ChangeLocalXmlPath(HasTransedResource()); }
public override void OnEnter(BaseFlow oldFlow) { base.OnEnter(oldFlow); _localXml = LocalXml; _currentData = CurrentRemoteData; _mapFileDataList = MapFileDataListForDownload; UpdateSystem.Download.Download.MutiDownloadedSize = 0; _totalSize = 0; }
/// <summary> /// 做数据拷贝,将上一个流程的数据转到当前流程 /// </summary> /// <param name="oldFlow"></param> public virtual void OnEnter(BaseFlow oldFlow) { if (!_initialized) { //Inititalize(); } if (_perFlowActionCall != null) { _perFlowActionCall(null); } if (oldFlow == null) { return; } //数据拷贝 if (oldFlow.LocalXml != null) { LocalXml = oldFlow.LocalXml; } if (oldFlow.RemoteXml != null) { RemoteXml = oldFlow.RemoteXml; } if (oldFlow.CurrentRemoteData != null) { CurrentRemoteData = oldFlow.CurrentRemoteData; } if (!string.IsNullOrEmpty(oldFlow.LocalBaseResVersion)) { LocalBaseResVersion = oldFlow.LocalBaseResVersion; } if (oldFlow.MapFileDataListForDownload != null) { MapFileDataListForDownload = oldFlow.MapFileDataListForDownload; } if (oldFlow.ForceCheckMd5List != null) { ForceCheckMd5List = oldFlow.ForceCheckMd5List; } LastFlowResult = oldFlow.CurrentFlowResult; }
public override void OnEnter(BaseFlow oldFlow) { base.OnEnter(oldFlow); _localBaseResVersion = LocalBaseResVersion; _currentData = CurrentRemoteData; }
public override void OnEnter(BaseFlow oldFlow) { base.OnEnter(oldFlow); _localXml = LocalXml; _currentData = CurrentRemoteData; }
public override void OnEnter(BaseFlow oldFlow) { base.OnEnter(oldFlow); this._currentData = base.CurrentRemoteData; }
public override void OnEnter(BaseFlow oldFlow) { base.OnEnter(oldFlow); UseDownload = false; }