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