mirror of
https://github.com/ppy/osu.git
synced 2025-01-15 10:42:55 +08:00
More summaries
This commit is contained in:
parent
866dbf0b1d
commit
c88c6c4c62
@ -116,6 +116,10 @@ namespace osu.Game.Database
|
|||||||
connection.DeleteAll<BeatmapInfo>();
|
connection.DeleteAll<BeatmapInfo>();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Import multiple <see cref="BeatmapSetInfo"/> from <paramref name="paths"/>.
|
||||||
|
/// </summary>
|
||||||
|
/// <param name="paths">Multiple locations on disk</param>
|
||||||
public void Import(IEnumerable<string> paths)
|
public void Import(IEnumerable<string> paths)
|
||||||
{
|
{
|
||||||
Stack<BeatmapSetInfo> sets = new Stack<BeatmapSetInfo>();
|
Stack<BeatmapSetInfo> sets = new Stack<BeatmapSetInfo>();
|
||||||
@ -151,6 +155,10 @@ namespace osu.Game.Database
|
|||||||
Import(sets);
|
Import(sets);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Import <see cref="BeatmapSetInfo"/> from <paramref name="path"/>.
|
||||||
|
/// </summary>
|
||||||
|
/// <param name="path">Location on disk</param>
|
||||||
public void Import(string path)
|
public void Import(string path)
|
||||||
{
|
{
|
||||||
Import(new [] { path });
|
Import(new [] { path });
|
||||||
|
Loading…
Reference in New Issue
Block a user