public static void DecodeTable(string str) { Configs.Clear(); str = StringUtils.Replace(str, '\r', '\n'); str = StringUtils.Replace(str, "\n\n", '\n'); List <List <string> > list = CSV.Parse(str); for (int i = 2, len = list.Count; i < len; i++) { LevelConfig item = new LevelConfig(); item.Decode(list[i]); Configs.Add(item); } }