protected override void ProcessCfgsAfter(ref UnitAttributeConfig[] cfgs) { int count = cfgs.Length; UnitAttributeConfig unitAttrCfg = null; for (int i = 0; i < count; i++) { unitAttrCfg = cfgs[i]; Dictionary <uint, UnitAttributeConfig> levelCfgs; if (!m_dicUnitAttribute.TryGetValue(unitAttrCfg.Id, out levelCfgs)) { levelCfgs = new Dictionary <uint, UnitAttributeConfig>(); m_dicUnitAttribute[unitAttrCfg.Id] = levelCfgs; } levelCfgs[unitAttrCfg.HeroLv] = unitAttrCfg; } }
private void ProcessRowExt(UnitAttributeConfig excel) { //在这里对配置的解析进行扩展 }