Example #1
0
 public void RemoveXml(EXML type)
 {
     if (type == EXML.StepAniXml)
     {
         aniConfig.Clear();
         i = 0;
         return;
     }
     xmlConfig.Remove(type);
 }
Example #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);
    }
Example #3
0
 public bool isHave(EXML type)
 {
     return(xmlConfig.ContainsKey(type));
 }
Example #4
0
 /// <summary>
 /// 其他表
 /// </summary>
 /// <param name="type"></param>
 /// <returns></returns>
 public Dictionary <I, T> GetXml(EXML type)
 {
     return(xmlConfig[type]);
 }