private void DownloadFileCompleted(DownloadInfo downloadInfo, AsyncCompletedEventArgs e)
        {
            this.m_start_download_time = 0f;
            bool download_succeed = true;

            if (e != null && e.Error != null)
            {
                download_succeed = false;
                if (this.m_client != null)
                {
                    this.m_client.Dispose();
                    this.m_client = null;
                }
                string file_name = Util.GetAssetsBundlePathFromBase64(downloadInfo.server_asset_path);
                Util.ThrowLuaException(string.Concat(new object[]
                {
                    "DownloadFileCompleted download error:",
                    e.Error,
                    " file name:",
                    file_name,
                    " url:",
                    downloadInfo.server_asset_path
                }), null, 1);
            }
            NotiData data = new NotiData(downloadInfo);

            this.OnSyncEvent(data, download_succeed);
        }
 private void OnSyncEvent(NotiData data, bool state = true)
 {
     if (data != null && data.evParam != null && data.evParam.sharpCallback != null)
     {
         data.evParam.sharpCallback(data);
     }
     this.m_cur_download_state = state;
     this.m_wait_callback      = true;
 }