mirror of
https://github.com/osukey/osukey.git
synced 2025-07-03 01:09:57 +09:00
Remove obsoleted tournament migration flow
This commit is contained in:
34
osu.Game.Tournament/Configuration/TournamentConfigManager.cs
Normal file
34
osu.Game.Tournament/Configuration/TournamentConfigManager.cs
Normal file
@ -0,0 +1,34 @@
|
||||
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
|
||||
// See the LICENCE file in the repository root for full licence text.
|
||||
|
||||
#nullable disable
|
||||
|
||||
using osu.Framework.Configuration;
|
||||
using osu.Framework.Platform;
|
||||
|
||||
namespace osu.Game.Tournament.Configuration
|
||||
{
|
||||
public class TournamentConfigManager : IniConfigManager<StorageConfig>
|
||||
{
|
||||
protected override string Filename => "tournament.ini";
|
||||
|
||||
private const string default_tournament = "default";
|
||||
|
||||
public TournamentConfigManager(Storage storage)
|
||||
: base(storage)
|
||||
{
|
||||
}
|
||||
|
||||
protected override void InitialiseDefaults()
|
||||
{
|
||||
base.InitialiseDefaults();
|
||||
|
||||
SetDefault(StorageConfig.CurrentTournament, default_tournament);
|
||||
}
|
||||
}
|
||||
|
||||
public enum StorageConfig
|
||||
{
|
||||
CurrentTournament,
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user