Exemplo n.º 1
0
        protected override void ProcessCfgsAfter(ref HeroStarConfig[] cfgs)
        {
            int            count   = cfgs.Length;
            HeroStarConfig starCfg = null;

            for (int i = 0; i < count; i++)
            {
                starCfg = cfgs[i];
                Dictionary <uint, HeroStarConfig> levelCfgs;
                if (!m_dicStarCfg.TryGetValue(starCfg.HeroId, out levelCfgs))
                {
                    levelCfgs = new Dictionary <uint, HeroStarConfig>();
                    levelCfgs[starCfg.StarLv] = starCfg;
                }

                m_dicStarCfg[starCfg.HeroId] = levelCfgs;
            }
        }
Exemplo n.º 2
0
 private void ProcessRowExt(HeroStarConfig excel)
 {
     //在这里对配置的解析进行扩展
 }