using System.Collections.Generic; using System.Text; namespace TableConfig { public partial class RuneConfig : ConfigBase, IConfigPostProcess { private static Dictionary> m_RuneCfgs = new Dictionary>(); public void OnConfigParseCompleted() { if (m_RuneCfgs.ContainsKey(TowerID)) { m_RuneCfgs[TowerID].Add(this); } else { List list = new List(); list.Add(this); m_RuneCfgs.Add(TowerID, list); } } public static Dictionary> GetAllTowerLockRune() { return m_RuneCfgs; } } }