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