Files
RobustToolbox/Robust.Client/Input/IKeyBinding.cs
Acruid 2183cd7ca1 Massive Namespace Cleanup (#1544)
* Removed the Interfaces folder.
* All objects inside the GameObjects subfolders are now in the GameObjects namespace.
* Added a Resharper DotSettings file to mark the GameObjects subfolders as not providing namespaces.
* Simplified Robust.client.Graphics namespace.
* Automated remove redundant using statements.
2021-02-10 23:27:19 -08:00

27 lines
701 B
C#

using Robust.Shared.Input;
namespace Robust.Client.Input
{
public interface IKeyBinding
{
BoundKeyState State { get; }
BoundKeyFunction Function { get; }
KeyBindingType BindingType { get; }
Keyboard.Key BaseKey { get; }
Keyboard.Key Mod1 { get; }
Keyboard.Key Mod2 { get; }
Keyboard.Key Mod3 { get; }
bool CanFocus { get; }
bool CanRepeat { get; }
bool AllowSubCombs { get; }
int Priority { get; }
/// <summary>
/// Gets a user-presentable, localized & keyboard-adjusted string for which buttons the user has to press.
/// </summary>
string GetKeyString();
}
}