예제 #1
0
 public bool StartDownloadAsync()
 {
     if (mUpdateObject == null)
     {
         DLog.LogError("UpdateObject == null");
         return(false);
     }
     if (mIsStart)
     {
         return(true);
     }
     mIsStart = true;
     mObject.StartDownLoadAsync();
     mUpdateObject.RegToOwner();
     return(true);
 }
예제 #2
0
 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);
 }