mirror of
https://github.com/ppy/osu.git
synced 2025-02-22 20:12:56 +08:00
Add comment warning about enum entry order in GlobalAction
This commit is contained in:
parent
46e8187d48
commit
a8f07ae7b1
@ -227,6 +227,10 @@ namespace osu.Game.Input.Bindings
|
||||
};
|
||||
}
|
||||
|
||||
/// <remarks>
|
||||
/// IMPORTANT: New entries should always be added at the end of the enum, as key bindings are stored using the enum's numeric value and
|
||||
/// changes in order would cause key bindings to get associated with the wrong action.
|
||||
/// </remarks>
|
||||
public enum GlobalAction
|
||||
{
|
||||
[LocalisableDescription(typeof(GlobalActionKeyBindingStrings), nameof(GlobalActionKeyBindingStrings.ToggleChat))]
|
||||
|
Loading…
Reference in New Issue
Block a user