osu/osu.Game/Overlays/BeatmapListing/SearchGenre.cs

57 lines
2.0 KiB
C#
Raw Normal View History

2020-04-21 06:37:50 +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.
using System.ComponentModel;
2021-06-16 06:58:07 +00:00
using osu.Framework.Localisation;
using osu.Game.Resources.Localisation.Web;
2020-04-21 06:37:50 +00:00
namespace osu.Game.Overlays.BeatmapListing
{
public enum SearchGenre
{
[LocalisableDescription(typeof(BeatmapsStrings), nameof(BeatmapsStrings.GenreAny))]
2020-04-21 06:37:50 +00:00
Any = 0,
[LocalisableDescription(typeof(BeatmapsStrings), nameof(BeatmapsStrings.GenreUnspecified))]
2020-04-21 06:37:50 +00:00
Unspecified = 1,
[LocalisableDescription(typeof(BeatmapsStrings), nameof(BeatmapsStrings.GenreVideoGame))]
2020-04-21 06:37:50 +00:00
[Description("Video Game")]
VideoGame = 2,
[LocalisableDescription(typeof(BeatmapsStrings), nameof(BeatmapsStrings.GenreAnime))]
2020-04-21 06:37:50 +00:00
Anime = 3,
[LocalisableDescription(typeof(BeatmapsStrings), nameof(BeatmapsStrings.GenreRock))]
2020-04-21 06:37:50 +00:00
Rock = 4,
[LocalisableDescription(typeof(BeatmapsStrings), nameof(BeatmapsStrings.GenrePop))]
2020-04-21 06:37:50 +00:00
Pop = 5,
[LocalisableDescription(typeof(BeatmapsStrings), nameof(BeatmapsStrings.GenreOther))]
2020-04-21 06:37:50 +00:00
Other = 6,
[LocalisableDescription(typeof(BeatmapsStrings), nameof(BeatmapsStrings.GenreNovelty))]
2020-04-21 06:37:50 +00:00
Novelty = 7,
[LocalisableDescription(typeof(BeatmapsStrings), nameof(BeatmapsStrings.GenreHipHop))]
2020-04-21 06:37:50 +00:00
[Description("Hip Hop")]
HipHop = 9,
2021-06-16 06:58:07 +00:00
[LocalisableDescription(typeof(BeatmapsStrings), nameof(BeatmapsStrings.GenreElectronic))]
Electronic = 10,
2021-06-16 06:58:07 +00:00
[LocalisableDescription(typeof(BeatmapsStrings), nameof(BeatmapsStrings.GenreMetal))]
Metal = 11,
2021-06-16 06:58:07 +00:00
[LocalisableDescription(typeof(BeatmapsStrings), nameof(BeatmapsStrings.GenreClassical))]
Classical = 12,
2021-06-16 06:58:07 +00:00
[LocalisableDescription(typeof(BeatmapsStrings), nameof(BeatmapsStrings.GenreFolk))]
Folk = 13,
2021-06-16 06:58:07 +00:00
[LocalisableDescription(typeof(BeatmapsStrings), nameof(BeatmapsStrings.GenreJazz))]
Jazz = 14
2021-06-16 06:58:07 +00:00
}
2020-04-21 06:37:50 +00:00
}