Update to match api

This commit is contained in:
StanR
2019-08-29 12:29:31 +03:00
parent 3347ee8170
commit d303083179
4 changed files with 12 additions and 51 deletions

View File

@ -88,55 +88,16 @@ namespace osu.Game.Beatmaps
public BeatmapSetOnlineLanguage Language { get; set; }
}
public enum BeatmapSetOnlineGenre
public class BeatmapSetOnlineGenre
{
[Description("Any")]
Any = 0,
[Description("Unspecified")]
Unspecified = 1,
[Description("Video Game")]
VideoGame = 2,
[Description("Anime")]
Anime = 3,
[Description("Rock")]
Rock = 4,
[Description("Pop")]
Pop = 5,
[Description("Other")]
Other = 6,
[Description("Novelty")]
Novelty = 7,
// genre_id 8 doesn't exist
[Description("Hip-Hop")]
HipHop = 9,
[Description("Electronic")]
Electronic = 10
public int Id { get; set; }
public string Name { get; set; }
}
public enum BeatmapSetOnlineLanguage
public class BeatmapSetOnlineLanguage
{
Any,
Other,
English,
Japanese,
Chinese,
Instrumental,
Korean,
French,
German,
Swedish,
Spanish,
Italian
public int Id { get; set; }
public string Name { get; set; }
}
public class BeatmapSetOnlineCovers