T_MSCLoader_Keybind - piotrulos/MSCModLoader GitHub Wiki
Add easily rebindable keybinds.
Namespace: MSCLoader
Assembly: MSCLoader (in MSCLoader.dll) Version: 1.3.3.356
C#
public class Keybind
View Source
Inheritance | Object → Keybind |
Keybind(String, String, KeyCode) | Constructor for Keybind without modifier Obsolete |
Keybind(String, String, KeyCode, KeyCode) | Constructor for Keybind Obsolete |
ID | The ID of the keybind (Should only be used once in your mod). Obsolete |
Key | The KeyCode the user will have to press. Obsolete |
Mod | The Mod this Keybind belongs to (This is set when using Keybind.Add). Obsolete |
Modifier | The modifier KeyCode the user will have to press with the Key. Obsolete |
Name | The name that will be displayed in settings Obsolete |
Vals | Helpful additional variables. Obsolete |
Add(String, String, KeyCode) | Add a keybind. |
Add(Mod, String, String, KeyCode) | Add a keybind. Obsolete |
Add(String, String, KeyCode, KeyCode) | Add a keybind with modifier. |
Add(Mod, String, String, KeyCode, KeyCode) | Add a keybind. Obsolete |
AddHeader(Mod, String) | Add Header, blue title bar that can be used to separate settings. Obsolete |
AddHeader(String, Boolean) | Add Header, that can be used to group keybinds. |
AddHeader(Mod, String, Color) | Add Header, blue title bar that can be used to separate settings. Obsolete |
AddHeader(Mod, String, Color, Color) | Add Header, blue title bar that can be used to separate settings. Obsolete |
AddHeader(String, Color, Color, Boolean) | Add Header, that can be used to group keybinds.. |
Get | Undocumented crap don't use Obsolete |
GetKeybind | Check if keybind is being hold down. (Same behaviour as GetKey) Obsolete |
GetKeybindDown | Check if the keybind was just pressed once. (Same behaviour as GetKeyDown) Obsolete |
GetKeybindUp | Check if the keybind was just released. (Same behaviour as GetKeyUp) Obsolete |
IsDown | [DEPRECATED] Checks if the Keybind was just pressed. Obsolete |
IsPressed | [DEPRECATED] Checks if the Keybind is being held down. Obsolete |