示例#1
0
    /// <summary>
    /// 跟新永久加成 grid数据
    /// </summary>
    /// <param name="data"></param>
    /// <param name="index"></param>
    private void OnTitleForeverAddPropGridDataUpdate(UIGridBase data, int index)
    {
        if (m_lstAllForeverAddeffectTypeId != null && index < m_lstAllForeverAddeffectTypeId.Count)
        {
            UITitlePropAddGrid grid = data as UITitlePropAddGrid;
            if (grid == null)
            {
                return;
            }

            grid.InitAllAddGrid(m_lstAllForeverAddeffectTypeId[index], m_dicEachTypeForeverAdd[m_lstAllForeverAddeffectTypeId[index]]);
        }
    }