1
0
mirror of https://github.com/ppy/osu.git synced 2026-05-15 12:42:48 +08:00
Files
osu-lazer/osu.Game/Rulesets/IRulesetConfigCache.cs
T
Dean Herbert cb0592d711 Remove redundant public specfications in interfaces
Rider EAP being noisy about this now (smoogi will be happy :D).
2025-05-26 17:14:41 +09:00

22 lines
1.0 KiB
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.Game.Rulesets.Configuration;
namespace osu.Game.Rulesets
{
/// <summary>
/// A cache that provides a single <see cref="IRulesetConfigManager"/> per-ruleset.
/// This is done to support referring to and updating ruleset configs from multiple locations in the absence of inter-config bindings.
/// </summary>
public interface IRulesetConfigCache
{
/// <summary>
/// Retrieves the <see cref="IRulesetConfigManager"/> for a <see cref="Ruleset"/>.
/// </summary>
/// <param name="ruleset">The <see cref="Ruleset"/> to retrieve the <see cref="IRulesetConfigManager"/> for.</param>
/// <returns>The <see cref="IRulesetConfigManager"/> defined by <paramref name="ruleset"/>, null if <paramref name="ruleset"/> doesn't define one.</returns>
IRulesetConfigManager? GetConfigFor(Ruleset ruleset);
}
}