1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-16 02:22:59 +08:00
osu-lazer/osu.Game/Overlays/BeatmapListing/SearchGenre.cs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

57 lines
2.0 KiB
C#
Raw Normal View History

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.
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
{
[LocalisableDescription(typeof(BeatmapsStrings), nameof(BeatmapsStrings.GenreAny))]
2020-04-21 14:37:50 +08:00
Any = 0,
[LocalisableDescription(typeof(BeatmapsStrings), nameof(BeatmapsStrings.GenreUnspecified))]
2020-04-21 14:37:50 +08:00
Unspecified = 1,
[LocalisableDescription(typeof(BeatmapsStrings), nameof(BeatmapsStrings.GenreVideoGame))]
2020-04-21 14:37:50 +08:00
[Description("Video Game")]
VideoGame = 2,
[LocalisableDescription(typeof(BeatmapsStrings), nameof(BeatmapsStrings.GenreAnime))]
2020-04-21 14:37:50 +08:00
Anime = 3,
[LocalisableDescription(typeof(BeatmapsStrings), nameof(BeatmapsStrings.GenreRock))]
2020-04-21 14:37:50 +08:00
Rock = 4,
[LocalisableDescription(typeof(BeatmapsStrings), nameof(BeatmapsStrings.GenrePop))]
2020-04-21 14:37:50 +08:00
Pop = 5,
[LocalisableDescription(typeof(BeatmapsStrings), nameof(BeatmapsStrings.GenreOther))]
2020-04-21 14:37:50 +08:00
Other = 6,
[LocalisableDescription(typeof(BeatmapsStrings), nameof(BeatmapsStrings.GenreNovelty))]
2020-04-21 14:37:50 +08:00
Novelty = 7,
[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
[LocalisableDescription(typeof(BeatmapsStrings), nameof(BeatmapsStrings.GenreElectronic))]
Electronic = 10,
2021-06-16 14:58:07 +08:00
[LocalisableDescription(typeof(BeatmapsStrings), nameof(BeatmapsStrings.GenreMetal))]
Metal = 11,
2021-06-16 14:58:07 +08:00
[LocalisableDescription(typeof(BeatmapsStrings), nameof(BeatmapsStrings.GenreClassical))]
Classical = 12,
2021-06-16 14:58:07 +08:00
[LocalisableDescription(typeof(BeatmapsStrings), nameof(BeatmapsStrings.GenreFolk))]
Folk = 13,
2021-06-16 14:58:07 +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
}