2019-09-24 22:25:05 +00:00
|
|
|
|
// 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.
|
|
|
|
|
|
2019-12-06 13:32:31 +00:00
|
|
|
|
using System;
|
2019-09-24 22:25:05 +00:00
|
|
|
|
using osu.Framework.Configuration;
|
|
|
|
|
|
|
|
|
|
namespace osu.Game.Configuration
|
|
|
|
|
{
|
2019-12-06 13:32:31 +00:00
|
|
|
|
public class InMemoryConfigManager<TLookup> : ConfigManager<TLookup>
|
|
|
|
|
where TLookup : struct, Enum
|
2019-09-24 22:25:05 +00:00
|
|
|
|
{
|
|
|
|
|
public InMemoryConfigManager()
|
|
|
|
|
{
|
|
|
|
|
InitialiseDefaults();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
protected override void PerformLoad()
|
|
|
|
|
{
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
protected override bool PerformSave() => true;
|
|
|
|
|
}
|
|
|
|
|
}
|