mirror of
https://github.com/ppy/osu.git
synced 2024-12-25 11:22:55 +08:00
33 lines
827 B
C#
33 lines
827 B
C#
// 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.Screens.Drawings.Components
|
|
{
|
|
public class DrawingsConfigManager : IniConfigManager<DrawingsConfig>
|
|
{
|
|
protected override string Filename => @"drawings.ini";
|
|
|
|
protected override void InitialiseDefaults()
|
|
{
|
|
SetDefault(DrawingsConfig.Groups, 8, 1, 8);
|
|
SetDefault(DrawingsConfig.TeamsPerGroup, 8, 1, 8);
|
|
}
|
|
|
|
public DrawingsConfigManager(Storage storage)
|
|
: base(storage)
|
|
{
|
|
}
|
|
}
|
|
|
|
public enum DrawingsConfig
|
|
{
|
|
Groups,
|
|
TeamsPerGroup
|
|
}
|
|
}
|