예제 #1
0
 public void RemoveXml(EXML type)
 {
     if (type == EXML.StepAniXml)
     {
         aniConfig.Clear();
         i = 0;
         return;
     }
     xmlConfig.Remove(type);
 }
예제 #2
0
    public void AddXml(EXML type, string tablename, string nodePath, string identify = "")
    {
        Dictionary <I, T> dic = new Dictionary <I, T>();

        dic = xml.LoadConfig <I, T>(tablename, nodePath, identify);
        if (type == EXML.StepAniXml)
        {
            aniConfig.Add(i, dic);
            i++;
            return;
        }
        xmlConfig.Add(type, dic);
    }
예제 #3
0
 public bool isHave(EXML type)
 {
     return(xmlConfig.ContainsKey(type));
 }
예제 #4
0
 /// <summary>
 /// 其他表
 /// </summary>
 /// <param name="type"></param>
 /// <returns></returns>
 public Dictionary <I, T> GetXml(EXML type)
 {
     return(xmlConfig[type]);
 }