mirror of
https://github.com/ppy/osu.git
synced 2025-01-12 17:43:05 +08: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
|
||||
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using osu.Game.Input;
|
||||
using OpenTK.Input;
|
||||
|
||||
@ -26,8 +27,11 @@ namespace osu.Game.Rulesets.Catch
|
||||
|
||||
public enum CatchAction
|
||||
{
|
||||
[Description("Move left")]
|
||||
MoveLeft,
|
||||
[Description("Move right")]
|
||||
MoveRight,
|
||||
[Description("Engage dash")]
|
||||
Dash
|
||||
}
|
||||
}
|
||||
|
@ -1,15 +1,23 @@
|
||||
// Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>.
|
||||
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
|
||||
|
||||
using System.ComponentModel;
|
||||
|
||||
namespace osu.Game.Input
|
||||
{
|
||||
public enum OsuAction
|
||||
{
|
||||
[Description("Toggle chat overlay")]
|
||||
ToggleChat,
|
||||
[Description("Toggle social overlay")]
|
||||
ToggleSocial,
|
||||
[Description("Reset input settings")]
|
||||
ResetInputSettings,
|
||||
[Description("Toggle toolbar")]
|
||||
ToggleToolbar,
|
||||
[Description("Toggle settings")]
|
||||
ToggleSettings,
|
||||
ToggleDirect
|
||||
[Description("Toggle osu!direct")]
|
||||
ToggleDirect,
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user