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