mirror of https://github.com/ppy/osu
23 lines
540 B
C#
23 lines
540 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.
|
|
|
|
using osu.Framework.Configuration;
|
|
|
|
namespace osu.Game.Configuration
|
|
{
|
|
public class InMemoryConfigManager<T> : ConfigManager<T>
|
|
where T : struct
|
|
{
|
|
public InMemoryConfigManager()
|
|
{
|
|
InitialiseDefaults();
|
|
}
|
|
|
|
protected override void PerformLoad()
|
|
{
|
|
}
|
|
|
|
protected override bool PerformSave() => true;
|
|
}
|
|
}
|