コード例 #1
0
        public List <uint> GetTipsByCasterLv(uint type)
        {
            Dictionary <uint, uint> dic = GetDic();

            if (null != dic)
            {
                m_typeTips.Clear();
                int lenth = m_idList.Count - 1;
                for (int i = 0; i <= lenth; i++)
                {
                    uint             id     = m_idList[i];
                    RandomTipsConfig cfgTip = RandomTipsDao.Inst.GetCfg(id);
                    if (null == cfgTip)
                    {
                        continue;
                    }
                    if (cfgTip.Type == type)
                    {
                        m_typeTips.Add(cfgTip.Id);
                    }
                }
            }

            return(m_typeTips);
        }
コード例 #2
0
 private void ProcessRowExt(RandomTipsConfig excel)
 {
     //在这里对配置的解析进行扩展
 }