2020-04-02 09:39:49 +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.
2022-06-17 07:37:17 +00:00
#nullable disable
2020-04-03 02:55:52 +00:00
using osu.Game.Rulesets.Mania.UI ;
2020-04-02 09:39:49 +00:00
using osu.Game.Skinning ;
namespace osu.Game.Rulesets.Mania.Skinning
{
public class ManiaSkinConfigurationLookup
{
2020-04-03 02:55:52 +00:00
/// <summary>
/// The configuration lookup value.
/// </summary>
2020-04-02 09:39:49 +00:00
public readonly LegacyManiaSkinConfigurationLookups Lookup ;
2020-04-03 02:55:52 +00:00
/// <summary>
/// The intended <see cref="Column"/> index for the configuration.
/// May be null if the configuration does not apply to a <see cref="Column"/>.
/// </summary>
2020-04-02 09:39:49 +00:00
public readonly int? TargetColumn ;
2020-04-03 02:55:52 +00:00
/// <summary>
/// Creates a new <see cref="ManiaSkinConfigurationLookup"/>.
/// </summary>
/// <param name="lookup">The lookup value.</param>
/// <param name="targetColumn">The intended <see cref="Column"/> index for the configuration. May be null if the configuration does not apply to a <see cref="Column"/>.</param>
2020-04-02 09:39:49 +00:00
public ManiaSkinConfigurationLookup ( LegacyManiaSkinConfigurationLookups lookup , int? targetColumn = null )
{
Lookup = lookup ;
TargetColumn = targetColumn ;
}
}
}