Ejemplo n.º 1
0
        public ScoreDatabase(Storage storage, IIpcHost importHost = null, BeatmapDatabase beatmaps = null)
        {
            this.storage  = storage;
            this.beatmaps = beatmaps;

            if (importHost != null)
            {
                ipc = new ScoreIPCChannel(importHost, this);
            }
        }
Ejemplo n.º 2
0
        public ScoreStore(DatabaseContextFactory factory, IIpcHost importHost = null, BeatmapManager beatmaps = null, RulesetStore rulesets = null) : base(factory)
        {
            this.beatmaps = beatmaps;
            this.rulesets = rulesets;

            if (importHost != null)
            {
                ipc = new ScoreIPCChannel(importHost, this);
            }
        }
Ejemplo n.º 3
0
        public ScoreDatabase(Storage storage, SQLiteConnection connection, IIpcHost importHost = null, BeatmapDatabase beatmaps = null, RulesetDatabase rulesets = null) : base(storage, connection)
        {
            this.storage  = storage;
            this.beatmaps = beatmaps;
            this.rulesets = rulesets;

            if (importHost != null)
            {
                ipc = new ScoreIPCChannel(importHost, this);
            }
        }
Ejemplo n.º 4
0
        public ScoreStore(Storage storage, Func <OsuDbContext> factory, IIpcHost importHost = null, BeatmapManager beatmaps = null, RulesetStore rulesets = null) : base(factory)
        {
            this.storage  = storage;
            this.beatmaps = beatmaps;
            this.rulesets = rulesets;

            if (importHost != null)
            {
                ipc = new ScoreIPCChannel(importHost, this);
            }
        }