public static void Generate( string folder, params Map[] maps ) { if ( !Directory.Exists( folder ) ) return; string[] files = Directory.GetFiles( folder, "*.cfg" ); for ( int i = 0; i < files.Length; ++i ) { ArrayList list = DecorationList.ReadAll( files[i] ); for ( int j = 0; j < list.Count; ++j ) m_Count += ((DecorationList)list[j]).Generate( maps ); } }
public static void Generate(string folder, params Map[] maps) { if (!Directory.Exists(folder)) { return; } var files = Directory.GetFiles(folder, "*.cfg"); for (var i = 0; i < files.Length; ++i) { var list = DecorationList.ReadAll(files[i]); for (var j = 0; j < list.Count; ++j) { m_Count += list[j].Generate(maps); } } }
private static void Generate(string folder, params Map[] maps) { if (!Directory.Exists(folder)) { return; } string[] files = Directory.GetFiles(folder, "*.cfg"); for (int i = 0; i < files.Length; ++i) { List <DecorationList> list = DecorationList.ReadAll(files[i]); for (int j = 0; j < list.Count; ++j) { _count += list[j].Generate(maps); } } }
public static void Generate(string folder, params Map[] maps) { if (!Directory.Exists(folder)) { return; } string[] files = Directory.GetFiles(folder, "*.cfg"); for (int i = 0; i < files.Length; ++i) { ArrayList list = DecorationList.ReadAll(files[i]); // genova: support uo:ml. #region Mondain's Legacy m_List = list; #endregion for (int j = 0; j < list.Count; ++j) { m_Count += ((DecorationList)list[j]).Generate(maps); } } }