mirror of
https://github.com/osukey/osukey.git
synced 2025-07-01 08:20:00 +09:00
Drop BeatmapSet, only BeatmapSetInfo is necessary
This commit is contained in:
@ -82,6 +82,11 @@ namespace osu.Game.Database
|
||||
return ArchiveReader.GetReader(storage, beatmapSet.Path);
|
||||
}
|
||||
|
||||
public BeatmapSetInfo GetBeatmapSet(int id)
|
||||
{
|
||||
return Query<BeatmapSetInfo>().Where(s => s.BeatmapSetID == id).FirstOrDefault();
|
||||
}
|
||||
|
||||
public Beatmap GetBeatmap(BeatmapInfo beatmapInfo)
|
||||
{
|
||||
var beatmapSet = Query<BeatmapSetInfo>()
|
||||
|
Reference in New Issue
Block a user