mirror of
https://github.com/ppy/osu.git
synced 2025-01-12 15:22:55 +08:00
Add structure for mania configuration lookups
This commit is contained in:
parent
c3cde7a163
commit
a8f7d7ea42
@ -38,7 +38,7 @@ namespace osu.Game.Rulesets.Mania.Skinning
|
|||||||
case GameplaySkinComponent<HitResult> resultComponent:
|
case GameplaySkinComponent<HitResult> resultComponent:
|
||||||
return getResult(resultComponent);
|
return getResult(resultComponent);
|
||||||
|
|
||||||
case ManiaSkinComponent maniaComponent:
|
case ManiaSkinComponent _:
|
||||||
if (!isLegacySkin.Value)
|
if (!isLegacySkin.Value)
|
||||||
return null;
|
return null;
|
||||||
|
|
||||||
|
23
osu.Game/Skinning/LegacyManiaSkinConfigurationLookup.cs
Normal file
23
osu.Game/Skinning/LegacyManiaSkinConfigurationLookup.cs
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
// 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
|
||||||
|
{
|
||||||
|
public class LegacyManiaSkinConfigurationLookup
|
||||||
|
{
|
||||||
|
public readonly int Keys;
|
||||||
|
public readonly LegacyManiaSkinConfigurationLookups Lookup;
|
||||||
|
public readonly int? TargetColumn;
|
||||||
|
|
||||||
|
public LegacyManiaSkinConfigurationLookup(int keys, LegacyManiaSkinConfigurationLookups lookup, int? targetColumn = null)
|
||||||
|
{
|
||||||
|
Keys = keys;
|
||||||
|
Lookup = lookup;
|
||||||
|
TargetColumn = targetColumn;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
public enum LegacyManiaSkinConfigurationLookups
|
||||||
|
{
|
||||||
|
}
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user