// ------------------------------------------------------------------------------
//
// This code was generated by a tool.
// Mono Runtime Version: 2.0.50727.1433
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
//
// ------------------------------------------------------------------------------
using System.Collections.Generic;
namespace TableConfig
{
public partial class DienstgradConfig : ConfigBase, IConfigPostProcess
{
private static Dictionary> m_titles = new Dictionary>();
private static Dictionary m_TitleAttrTypeDic = new Dictionary();
private static Dictionary m_TitleAttrValueDic = new Dictionary();
public void OnConfigParseCompleted()
{
List list = null;
m_titles.TryGetValue(Type, out list);
if (list != null)
{
list.Add(this);
}
else
{
list = new List();
list.Add(this);
m_titles.Add(Type, list);
}
if (!m_TitleAttrTypeDic.ContainsKey(ID))
{
m_TitleAttrTypeDic.Add(ID, LightType);
}
if (!m_TitleAttrValueDic.ContainsKey(ID))
{
m_TitleAttrValueDic.Add(ID, LightAttribute);
}
}
public static List GetTitlesByType(TitleType type)
{
List list = null;
m_titles.TryGetValue((int)type, out list);
return list;
}
public static int[] GetTitleAttrType(int _title)
{
int[] array = null;
m_TitleAttrTypeDic.TryGetValue(_title, out array);
return array;
}
public static int[] GetTitleAttrValue(int _title)
{
int[] array = null;
m_TitleAttrValueDic.TryGetValue(_title, out array);
return array;
}
}
}