mirror of
https://github.com/osukey/osukey.git
synced 2025-05-30 01:47:30 +09:00
Add description attributes to all actions
This commit is contained in:
parent
da50101c25
commit
6ba5bdf1e6
@ -2,6 +2,7 @@
|
|||||||
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
|
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
|
||||||
|
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
|
using System.ComponentModel;
|
||||||
using osu.Game.Input;
|
using osu.Game.Input;
|
||||||
using OpenTK.Input;
|
using OpenTK.Input;
|
||||||
|
|
||||||
@ -26,8 +27,11 @@ namespace osu.Game.Rulesets.Catch
|
|||||||
|
|
||||||
public enum CatchAction
|
public enum CatchAction
|
||||||
{
|
{
|
||||||
|
[Description("Move left")]
|
||||||
MoveLeft,
|
MoveLeft,
|
||||||
|
[Description("Move right")]
|
||||||
MoveRight,
|
MoveRight,
|
||||||
|
[Description("Engage dash")]
|
||||||
Dash
|
Dash
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -1,15 +1,23 @@
|
|||||||
// Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>.
|
// Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>.
|
||||||
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
|
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
|
||||||
|
|
||||||
|
using System.ComponentModel;
|
||||||
|
|
||||||
namespace osu.Game.Input
|
namespace osu.Game.Input
|
||||||
{
|
{
|
||||||
public enum OsuAction
|
public enum OsuAction
|
||||||
{
|
{
|
||||||
|
[Description("Toggle chat overlay")]
|
||||||
ToggleChat,
|
ToggleChat,
|
||||||
|
[Description("Toggle social overlay")]
|
||||||
ToggleSocial,
|
ToggleSocial,
|
||||||
|
[Description("Reset input settings")]
|
||||||
ResetInputSettings,
|
ResetInputSettings,
|
||||||
|
[Description("Toggle toolbar")]
|
||||||
ToggleToolbar,
|
ToggleToolbar,
|
||||||
|
[Description("Toggle settings")]
|
||||||
ToggleSettings,
|
ToggleSettings,
|
||||||
ToggleDirect
|
[Description("Toggle osu!direct")]
|
||||||
|
ToggleDirect,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user