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