예제 #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);
            }
        }
예제 #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);
            }
        }
예제 #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);
            }
        }
예제 #4
0
파일: ScoreStore.cs 프로젝트: weebaka/osu
        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);
            }
        }