Skip to content

Methods_T_MSCLoader_Keybind

piotrulos edited this page Jan 12, 2022 · 2 revisions

Keybind Methods

The Keybind type exposes the following members.

Methods

 

Name Description
Public methodStatic member Add(Mod, String, String, KeyCode) Add a keybind.
Public methodStatic member Add(Mod, String, String, KeyCode, KeyCode) Add a keybind.
Public methodStatic member AddHeader(Mod, String) Add Header, blue title bar that can be used to separate settings.
Public methodStatic member AddHeader(Mod, String, Color) Add Header, blue title bar that can be used to separate settings.
Public methodStatic member AddHeader(Mod, String, Color, Color) Add Header, blue title bar that can be used to separate settings.
Public methodStatic member Get Return all keybinds for mod.
Public methodStatic member GetDefault Return all default keybinds for mod.
Public method GetKeybind Check if keybind is being hold down. (Same behaviour as GetKey)
Public method GetKeybindDown Check if the keybind was just pressed once. (Same behaviour as GetKeyDown)
Public method GetKeybindUp Check if the keybind was just released. (Same behaviour as GetKeyUp)
Public method IsDown **Obsolete. ** [DEPRECATED] Checks if the Keybind was just pressed.
Public method IsPressed **Obsolete. ** [DEPRECATED] Checks if the Keybind is being held down.
  Back to Top

See Also

Reference

Keybind Class
MSCLoader Namespace

Clone this wiki locally