Add BeatmapLookupCache

This commit is contained in:
Dean Herbert
2021-11-30 19:27:43 +09:00
parent 5d5f958e44
commit 87883f1fe4
2 changed files with 147 additions and 0 deletions

View File

@ -142,6 +142,7 @@ namespace osu.Game
private BeatmapDifficultyCache difficultyCache;
private UserLookupCache userCache;
private BeatmapLookupCache beatmapCache;
private FileStore fileStore;
@ -265,6 +266,9 @@ namespace osu.Game
dependencies.Cache(userCache = new UserLookupCache());
AddInternal(userCache);
dependencies.Cache(beatmapCache = new BeatmapLookupCache());
AddInternal(beatmapCache);
var scorePerformanceManager = new ScorePerformanceCache();
dependencies.Cache(scorePerformanceManager);
AddInternal(scorePerformanceManager);