mirror of
https://github.com/ppy/osu.git
synced 2024-11-18 03:52:55 +08:00
28 lines
914 B
C#
28 lines
914 B
C#
|
// 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.Rulesets.Mods
|
||
|
{
|
||
|
public class UnknownMod : Mod
|
||
|
{
|
||
|
/// <summary>
|
||
|
/// The acronym of the mod which could not be resolved.
|
||
|
/// </summary>
|
||
|
public readonly string OriginalAcronym;
|
||
|
|
||
|
public override string Name => $"Unknown mod ({OriginalAcronym})";
|
||
|
public override string Acronym => $"{OriginalAcronym}??";
|
||
|
public override string Description => "This mod could not be resolved by the game.";
|
||
|
public override double ScoreMultiplier => 0;
|
||
|
|
||
|
public override ModType Type => ModType.System;
|
||
|
|
||
|
public UnknownMod(string acronym)
|
||
|
{
|
||
|
OriginalAcronym = acronym;
|
||
|
}
|
||
|
|
||
|
public override Mod DeepClone() => new UnknownMod(OriginalAcronym);
|
||
|
}
|
||
|
}
|