public ScoreManager(RulesetStore rulesets, Func <BeatmapManager> beatmaps, Storage storage, IDatabaseContextFactory contextFactory, Scheduler scheduler, IIpcHost importHost = null, Func <BeatmapDifficultyCache> difficulties = null, OsuConfigManager configManager = null) { this.scheduler = scheduler; this.difficulties = difficulties; this.configManager = configManager; scoreModelManager = new ScoreModelManager(rulesets, beatmaps, storage, contextFactory, importHost); }
public ScoreManager(RulesetStore rulesets, Func <BeatmapManager> beatmaps, Storage storage, RealmAccess realm, Scheduler scheduler, Func <BeatmapDifficultyCache> difficulties = null, OsuConfigManager configManager = null) { this.realm = realm; this.scheduler = scheduler; this.difficulties = difficulties; this.configManager = configManager; scoreModelManager = new ScoreModelManager(rulesets, beatmaps, storage, realm); }
public ScoreModelDownloader(ScoreModelManager scoreManager, IAPIProvider api, IIpcHost importHost = null) : base(scoreManager, api, importHost) { }