/// <summary>
        /// 创建资源应用成功事件。
        /// </summary>
        /// <param name="e">内部事件。</param>
        /// <returns>创建的资源应用成功事件。</returns>
        public static ResourceApplySuccessEventArgs Create(GameFramework.Resource.ResourceApplySuccessEventArgs e)
        {
            ResourceApplySuccessEventArgs resourceApplySuccessEventArgs = ReferencePool.Acquire <ResourceApplySuccessEventArgs>();

            resourceApplySuccessEventArgs.Name             = e.Name;
            resourceApplySuccessEventArgs.ApplyPath        = e.ApplyPath;
            resourceApplySuccessEventArgs.ResourcePackPath = e.ResourcePackPath;
            resourceApplySuccessEventArgs.Length           = e.Length;
            resourceApplySuccessEventArgs.ZipLength        = e.ZipLength;
            return(resourceApplySuccessEventArgs);
        }
 private void OnResourceApplySuccess(object sender, GameFramework.Resource.ResourceApplySuccessEventArgs e)
 {
     m_EventComponent.Fire(this, ResourceApplySuccessEventArgs.Create(e));
 }