Exemplo n.º 1
0
        private void IndexSkillShowSceneHeroModel()
        {
            IndexHeroAsset(GlobalMembers.SPELL_SHPW_TEAMMATE_ID);
            Dictionary <int, IExcelBean> _handBookjXmlData = DataTemplate.GetInstance().m_IllustratehandbookTable.getData();

            foreach (var item in _handBookjXmlData)
            {
                IllustratehandbookTemplate _handBookData = (IllustratehandbookTemplate)DataTemplate.GetInstance().m_IllustratehandbookTable.getTableData(item.Key);
                if (_handBookData.getType() == 1)
                {
                    IndexHeroAsset(_handBookData.getContentId());
                }
            }
        }
Exemplo n.º 2
0
    /// <summary>
    /// 解析图鉴Xml数据
    /// </summary>
    private void InitPraseXmlData()
    {
        Dictionary <int, IExcelBean> _handBookjXmlData = DataTemplate.GetInstance().m_IllustratehandbookTable.getData();

        foreach (var item in _handBookjXmlData)
        {
            IllustratehandbookTemplate _handBookData = (IllustratehandbookTemplate)DataTemplate.GetInstance().m_IllustratehandbookTable.getTableData(item.Key);
            if (_handBookData.getType() == 1)
            {
                m_HeroHandBookList.Add(_handBookData);
            }
            else
            {
                m_RaueHandBookList.Add(_handBookData);
            }
        }
    }