2022-11-09 05:11:41 +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.
|
|
|
|
|
|
|
|
namespace osu.Game.Skinning
|
|
|
|
{
|
|
|
|
/// <summary>
|
2023-02-15 06:14:38 +00:00
|
|
|
/// The base lookup type to be used with <see cref="ISkin.GetDrawableComponent"/>.
|
|
|
|
/// Should be implemented as necessary to add further criteria to lookups, which are usually consumed by ruleset transformers or legacy lookup cases.
|
2022-11-09 05:11:41 +00:00
|
|
|
/// </summary>
|
|
|
|
/// <remarks>
|
|
|
|
/// Implementations of <see cref="ISkin.GetDrawableComponent"/> should match on types implementing this interface
|
|
|
|
/// to scope particular lookup variations. Using this, a ruleset or skin implementation could make its own lookup
|
|
|
|
/// type to scope away from more global contexts.
|
|
|
|
///
|
2024-08-22 09:42:38 +00:00
|
|
|
/// More commonly, a ruleset could make use of <see cref="SkinComponentLookup{T}"/> to do a simple lookup based on
|
2022-11-09 05:11:41 +00:00
|
|
|
/// a provided enum.
|
|
|
|
/// </remarks>
|
2022-11-09 07:04:56 +00:00
|
|
|
public interface ISkinComponentLookup
|
2022-11-09 05:11:41 +00:00
|
|
|
{
|
|
|
|
}
|
|
|
|
}
|