// Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using System; using System.Collections.Generic; using osu.Framework.Input.Bindings; using osu.Game.Input.Bindings; namespace osu.Game.Input { public interface IKeyBindingStore { event Action KeyBindingChanged; void Register(KeyBindingContainer manager); /// /// Retrieve all user-defined key combinations (in a format that can be displayed) for a specific action. /// /// The action to lookup. /// A set of display strings for all the user's key configuration for the action. IEnumerable GetReadableKeyCombinationsFor(GlobalAction globalAction); /// /// Retrieve s for a specified ruleset/variant content. /// /// The ruleset's internal ID. /// An optional variant. /// List Query(int? rulesetId = null, int? variant = null); /// /// Retrieve s for the specified action. /// /// The action to lookup. List Query(GlobalAction action); public void Update(KeyBinding buttonKeyBinding) => throw new NotImplementedException(); } }