/// <summary>
        /// 创建显示物体成功事件。
        /// </summary>
        /// <param name="e">内部事件。</param>
        /// <returns>创建的显示物体成功事件。</returns>
        public static ShowItemSuccessEventArgs Create(GameFramework.Item.ShowItemSuccessEventArgs e)
        {
            ShowItemInfo             showItemInfo             = (ShowItemInfo)e.UserData;
            ShowItemSuccessEventArgs showItemSuccessEventArgs = ReferencePool.Acquire <ShowItemSuccessEventArgs>();

            showItemSuccessEventArgs.ItemLogicType = showItemInfo.ItemLogicType;
            showItemSuccessEventArgs.Item          = (Item)e.Item;
            showItemSuccessEventArgs.Duration      = e.Duration;
            showItemSuccessEventArgs.UserData      = showItemInfo.UserData;
            ReferencePool.Release(showItemInfo);
            return(showItemSuccessEventArgs);
        }
 private void OnShowItemSuccess(object sender, GameFramework.Item.ShowItemSuccessEventArgs e)
 {
     m_EventComponent.Fire(this, ShowItemSuccessEventArgs.Create(e));
 }