public bool StartDownloadAsync() { if (mUpdateObject == null) { DLog.LogError("UpdateObject == null"); return(false); } if (mIsStart) { return(true); } mIsStart = true; mObject.StartDownLoadAsync(); mUpdateObject.RegToOwner(); return(true); }
public bool StartUnZipAsync() { if (mUpdateObject == null) { DLog.LogError("UpdateObject == null"); return(false); } if (mIsStart) { return(true); } mIsStart = true; sUnZipMap.Add(mKey, this); mUnZipObject.StartUnZipAsync(); mUpdateObject.RegToOwner(); return(true); }