/// <summary>
        /// 创建资源更新开始事件。
        /// </summary>
        /// <param name="e">内部事件。</param>
        /// <returns>创建的资源更新开始事件。</returns>
        public static ResourceUpdateStartEventArgs Create(GameFramework.Resource.ResourceUpdateStartEventArgs e)
        {
            ResourceUpdateStartEventArgs resourceUpdateStartEventArgs = ReferencePool.Acquire <ResourceUpdateStartEventArgs>();

            resourceUpdateStartEventArgs.Name          = e.Name;
            resourceUpdateStartEventArgs.DownloadPath  = e.DownloadPath;
            resourceUpdateStartEventArgs.DownloadUri   = e.DownloadUri;
            resourceUpdateStartEventArgs.CurrentLength = e.CurrentLength;
            resourceUpdateStartEventArgs.ZipLength     = e.ZipLength;
            resourceUpdateStartEventArgs.RetryCount    = e.RetryCount;
            return(resourceUpdateStartEventArgs);
        }
 private void OnResourceUpdateStart(object sender, GameFramework.Resource.ResourceUpdateStartEventArgs e)
 {
     m_EventComponent.Fire(this, ResourceUpdateStartEventArgs.Create(e));
 }