//--------------------------------------------------------
|
// [Author]: 第二世界
|
// [ Date ]: Sunday, February 04, 2018
|
//--------------------------------------------------------
|
|
using System.Collections.Generic;
|
|
public partial class GatherTheSoulLVConfig : IConfigPostProcess
|
{
|
|
private static Dictionary<Int2, int> soulInfoDict = new Dictionary<Int2, int>();
|
public void OnConfigParseCompleted()
|
{
|
|
soulInfoDict[new Int2 (SoulID, SoulLV)] = ID;
|
|
}
|
|
public static GatherTheSoulLVConfig GetSoulLVConfig(int soulID, int soulLV)
|
{
|
if (soulInfoDict.ContainsKey(new Int2(soulID, soulLV)))
|
{
|
return Get(soulInfoDict[new Int2(soulID, soulLV)]);
|
}
|
return null;
|
}
|
|
}
|