public static ExcelRefVO Get(string excelID, string id) { if (string.IsNullOrEmpty(excelID) || string.IsNullOrEmpty(id)) { return(null); } List <ExcelRefVO> ids = null; if (ExcelIDMapping.TryGetValue(excelID, out ids)) { foreach (ExcelRefVO vo in ids) { if (vo.id == id) { return(vo); } } } return(null); }
public static string GetPrifix(string name) { if (_doc == null) { _doc = load(); } string value = null; prefixs.TryGetValue(name, out value); return(value); }
public static string[] GetPrefabExports(string key) { if (_doc == null) { _doc = load(); } string[] result = null; prefabExports.TryGetValue(key, out result); return(result); }
public static XmlNode GetPrefabExportsRaw(string key) { if (_doc == null) { _doc = load(); } XmlNode result = null; prefabExportsRaw.TryGetValue(key, out result); return(result); }