2020-04-02 17:39:49 +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.
2020-04-03 10:55:52 +08:00
using osu.Game.Rulesets.Mania.UI ;
2020-04-02 17:39:49 +08:00
using osu.Game.Skinning ;
namespace osu.Game.Rulesets.Mania.Skinning
{
public class ManiaSkinConfigurationLookup
{
2020-04-03 10:55:52 +08:00
/// <summary>
/// The configuration lookup value.
/// </summary>
2020-04-02 17:39:49 +08:00
public readonly LegacyManiaSkinConfigurationLookups Lookup ;
2020-04-03 10:55:52 +08:00
/// <summary>
2022-10-06 13:26:29 +08:00
/// The column which is being looked up.
2020-04-03 10:55:52 +08:00
/// May be null if the configuration does not apply to a <see cref="Column"/>.
2022-10-06 13:26:29 +08:00
/// Note that this is the absolute index across all stages.
2020-04-03 10:55:52 +08:00
/// </summary>
2022-10-04 18:42:43 +08:00
public readonly int? ColumnIndex ;
2020-04-02 17:39:49 +08:00
2020-04-03 10:55:52 +08:00
/// <summary>
/// Creates a new <see cref="ManiaSkinConfigurationLookup"/>.
/// </summary>
/// <param name="lookup">The lookup value.</param>
2022-10-04 18:42:43 +08:00
/// <param name="columnIndex">The intended <see cref="Column"/> index for the configuration. May be null if the configuration does not apply to a <see cref="Column"/>.</param>
2022-10-06 13:10:39 +08:00
public ManiaSkinConfigurationLookup ( LegacyManiaSkinConfigurationLookups lookup , int? columnIndex = null )
2020-04-02 17:39:49 +08:00
{
Lookup = lookup ;
2022-10-04 18:42:43 +08:00
ColumnIndex = columnIndex ;
2020-04-02 17:39:49 +08:00
}
}
}