/// <summary>
 /// 初始化资源更新开始事件的新实例。
 /// </summary>
 /// <param name="e">内部事件。</param>
 public ResourceUpdateStartEventArgs(GameFramework.Resource.ResourceUpdateStartEventArgs e)
 {
     Name          = e.Name;
     DownloadPath  = e.DownloadPath;
     DownloadUri   = e.DownloadUri;
     CurrentLength = e.CurrentLength;
     ZipLength     = e.ZipLength;
     RetryCount    = e.RetryCount;
 }
        /// <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);
        }