2021-01-12 23:15:00 +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.
|
|
|
|
|
|
|
|
using osu.Framework.Graphics;
|
2022-05-15 00:46:34 +08:00
|
|
|
using osu.Framework.Localisation;
|
2021-07-21 19:05:01 +08:00
|
|
|
using osu.Game.Resources.Localisation.Web;
|
2021-01-12 23:15:00 +08:00
|
|
|
|
2022-05-15 00:46:34 +08:00
|
|
|
#nullable enable
|
|
|
|
|
2021-01-12 23:15:00 +08:00
|
|
|
namespace osu.Game.Overlays.BeatmapSet
|
|
|
|
{
|
2022-05-15 01:52:38 +08:00
|
|
|
public class ExplicitContentBeatmapBadge : BeatmapBadge
|
2021-01-12 23:15:00 +08:00
|
|
|
{
|
2022-05-15 00:46:34 +08:00
|
|
|
public override LocalisableString BadgeText => BeatmapsetsStrings.NsfwBadgeLabel;
|
|
|
|
public override Colour4 BadgeColour => Colours.Orange2;
|
2021-01-12 23:15:00 +08:00
|
|
|
}
|
|
|
|
}
|