Add descriptions to enum members

This commit is contained in:
Bartłomiej Dach 2021-08-29 17:20:25 +02:00
parent eec9f6d191
commit b43ee2d61c
No known key found for this signature in database
GPG Key ID: BCECCD4FA41F6497

View File

@ -1,6 +1,8 @@
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // 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. // See the LICENCE file in the repository root for full licence text.
using System.ComponentModel;
namespace osu.Game.Beatmaps namespace osu.Game.Beatmaps
{ {
/// <summary> /// <summary>
@ -9,8 +11,14 @@ namespace osu.Game.Beatmaps
public enum CountdownType public enum CountdownType
{ {
None = 0, None = 0,
[Description("Normal")]
Normal = 1, Normal = 1,
[Description("Half speed")]
HalfSpeed = 2, HalfSpeed = 2,
[Description("Double speed")]
DoubleSpeed = 3 DoubleSpeed = 3
} }
} }