mirror of
https://github.com/osukey/osukey.git
synced 2025-05-08 23:27:38 +09:00
Add descriptions to enum members
This commit is contained in:
parent
eec9f6d191
commit
b43ee2d61c
@ -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
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user