mirror of
https://github.com/osukey/osukey.git
synced 2025-08-02 22:26:41 +09:00
Introduce a reference counting file store
This commit is contained in:
@ -3,6 +3,7 @@
|
||||
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using osu.Game.IO;
|
||||
using SQLite.Net.Attributes;
|
||||
using SQLiteNetExtensions.Attributes;
|
||||
|
||||
@ -34,8 +35,11 @@ namespace osu.Game.Beatmaps
|
||||
|
||||
public string Hash { get; set; }
|
||||
|
||||
public string Path { get; set; }
|
||||
public string StoryboardFile => Files.FirstOrDefault(f => f.Filename.EndsWith(".osb"))?.Filename;
|
||||
|
||||
public string StoryboardFile { get; set; }
|
||||
[ManyToMany(typeof(BeatmapSetFileInfo))]
|
||||
public List<FileInfo> Files { get; set; }
|
||||
|
||||
public bool Protected { get; set; }
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user