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