1
0
mirror of https://github.com/ppy/osu.git synced 2025-03-07 01:07:20 +08:00

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

31 lines
808 B
C#
Raw Normal View History

// 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.
2018-04-13 18:19:50 +09:00
2017-03-03 13:17:24 +09:00
using osu.Framework.Configuration;
2017-02-27 23:09:26 +09:00
using osu.Framework.Platform;
2018-04-13 18:19:50 +09:00
namespace osu.Game.Tournament.Screens.Drawings.Components
2017-02-27 23:09:26 +09:00
{
public class DrawingsConfigManager : IniConfigManager<DrawingsConfig>
2017-02-27 23:09:26 +09:00
{
2017-03-09 13:50:33 +09:00
protected override string Filename => @"drawings.ini";
2018-04-13 18:19:50 +09:00
2017-02-27 23:09:26 +09:00
protected override void InitialiseDefaults()
{
SetDefault(DrawingsConfig.Groups, 8, 1, 8);
SetDefault(DrawingsConfig.TeamsPerGroup, 8, 1, 8);
2017-02-27 23:09:26 +09:00
}
2018-04-13 18:19:50 +09:00
2017-02-27 23:09:26 +09:00
public DrawingsConfigManager(Storage storage)
: base(storage)
{
}
}
2018-04-13 18:19:50 +09:00
2017-02-27 23:09:26 +09:00
public enum DrawingsConfig
{
Groups,
TeamsPerGroup
}
}