/// <summary>
    ///
    /// </summary>
    void OnLoadSwordsManItem(GameObject resObj, object param)
    {
        if (null == m_SwordsManGrid)
        {
            LogModule.ErrorLog("OnLoadSwordsManItem m_SwordsManGrid is null");
            return;
        }
        Utils.CleanGrid(m_SwordsManGrid.gameObject);
        SwordsManContainer oSwordsManContainer = GameManager.gameManager.PlayerDataPool.GetSwordsManContainer(SwordsManContainer.PACK_TYPE.TYPE_BACKPACK);

        if (null == oSwordsManContainer)
        {
            LogModule.ErrorLog("OnLoadSwordsManItem::oSwordsManContainer is null");
            return;
        }
        List <SwordsMan> itemlist = SwordsManTool.ItemFilter(oSwordsManContainer);

        for (int i = 0; i < itemlist.Count; i++)
        {
            SwordsMan oSwordsMan = itemlist[i];
            if (null == oSwordsMan)
            {
                LogModule.ErrorLog("OnLoadSwordsManItem::oSwordsMan is null");
                break;
            }
            if (false == oSwordsMan.IsValid())
            {
                continue;
            }
            SwordsManItem oSwordsManItem = SwordsManItem.CreateItem(m_SwordsManGrid, resObj, i.ToString(), this);
            if (null == oSwordsManItem)
            {
                LogModule.ErrorLog("OnLoadSwordsManItem::oSwordsManItem is null");
                break;
            }
            oSwordsManItem.SetData(oSwordsMan);
        }
        m_SwordsManGrid.GetComponent <UIGrid>().repositionNow = true;

        if (m_LabelPacSize != null)
        {
            m_LabelPacSize.text = StrDictionary.GetClientDictionaryString("#{3337}", oSwordsManContainer.GetSwordsManCount(), oSwordsManContainer.ContainerSize);
        }
    }
    /// <summary>
    /// 更新侠客信息
    /// </summary>
    void OnLoadSwordsManItem(GameObject resObj, object param)
    {
        if (null == m_SwordsManGrid)
        {
            LogModule.ErrorLog("OnLoadSwordsManItem m_SwordsManGrid is null");
            return;
        }
        Utils.CleanGrid(m_SwordsManGrid.gameObject);

        SwordsManContainer oSwordsManBackContainer = GameManager.gameManager.PlayerDataPool.GetSwordsManContainer(SwordsManContainer.PACK_TYPE.TYPE_BACKPACK);

        if (null == oSwordsManBackContainer)
        {
            LogModule.ErrorLog("OnLoadSwordsManItem::oSwordsManBackContainer is null");
            return;
        }
        SwordsManContainer Container = GameManager.gameManager.PlayerDataPool.GetSwordsManContainer(m_PackType);

        if (null == Container)
        {
            LogModule.ErrorLog("OnLoadSwordsManItem::Container is null");
            return;
        }
        SwordsMan CurSwordsMan = Container.GetSwordsManByGuid(m_SwordsManGuid);

        if (CurSwordsMan == null)
        {
            return;
        }
        List <SwordsMan> itemlist = SwordsManTool.ItemFilter(oSwordsManBackContainer);

        itemlist  = SwordsManTool.ItemFilter(itemlist, (int)m_curChooseQuality);
        m_nEatExp = 0;
        for (int i = 0; i < itemlist.Count; i++)
        {
            SwordsMan oSwordsMan = itemlist[i];
            if (null == oSwordsMan)
            {
                LogModule.ErrorLog("OnLoadSwordsManItem::oSwordsMan is null");
                break;
            }
            if (false == oSwordsMan.IsValid())
            {
                continue;
            }
            SwordsManItem oSwordsManItem = SwordsManItem.CreateItem(m_SwordsManGrid, resObj, i.ToString(), this);
            if (null == oSwordsManItem)
            {
                LogModule.ErrorLog("OnLoadSwordsManItem::oSwordsManItem is null");
                break;
            }
            oSwordsManItem.SetData(oSwordsMan);
            if (oSwordsMan.Guid == CurSwordsMan.Guid)
            {
                continue;
            }
            if (oSwordsMan.Quality > CurSwordsMan.Quality)
            {
                continue;
            }
            if (oSwordsMan.Locked)
            {
                continue;
            }
            oSwordsManItem.OnSelectSwordsMan();
            m_nEatExp += oSwordsManItem.m_oSwordsMan.GetEatExp();
        }
        m_SwordsManGrid.GetComponent <UIGrid>().repositionNow = true;
        if (m_TopGrid != null)
        {
            m_TopGrid.Recenter(true);
        }
        ShowSwordsManExp();
    }