From 6ba5bdf1e6bdae7a40e5fbb3771dab34f29f2a98 Mon Sep 17 00:00:00 2001 From: Dean Herbert Date: Thu, 10 Aug 2017 17:14:30 +0900 Subject: [PATCH] Add description attributes to all actions --- osu.Game.Rulesets.Catch/CatchInputManager.cs | 4 ++++ osu.Game/Input/OsuAction.cs | 10 +++++++++- 2 files changed, 13 insertions(+), 1 deletion(-) diff --git a/osu.Game.Rulesets.Catch/CatchInputManager.cs b/osu.Game.Rulesets.Catch/CatchInputManager.cs index 40020e8649..8e973a70c7 100644 --- a/osu.Game.Rulesets.Catch/CatchInputManager.cs +++ b/osu.Game.Rulesets.Catch/CatchInputManager.cs @@ -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 } } diff --git a/osu.Game/Input/OsuAction.cs b/osu.Game/Input/OsuAction.cs index c80f212df8..a0c203e3ec 100644 --- a/osu.Game/Input/OsuAction.cs +++ b/osu.Game/Input/OsuAction.cs @@ -1,15 +1,23 @@ // Copyright (c) 2007-2017 ppy Pty Ltd . // 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, } }