2022-11-09 13:11:41 +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.
|
|
|
|
|
|
|
|
namespace osu.Game.Skinning
|
|
|
|
{
|
|
|
|
/// <summary>
|
2023-02-15 14:14:38 +08: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 13:11:41 +08: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 17:42:38 +08:00
|
|
|
/// More commonly, a ruleset could make use of <see cref="SkinComponentLookup{T}"/> to do a simple lookup based on
|
2022-11-09 13:11:41 +08:00
|
|
|
/// a provided enum.
|
|
|
|
/// </remarks>
|
2022-11-09 15:04:56 +08:00
|
|
|
public interface ISkinComponentLookup
|
2022-11-09 13:11:41 +08:00
|
|
|
{
|
|
|
|
}
|
|
|
|
}
|