Skip to content

M_MSCLoader_Keybind__ctor_1

piotrulos edited this page Apr 7, 2023 · 4 revisions

Keybind Constructor (String, String, KeyCode, KeyCode)

Constructor for Keybind

Namespace: MSCLoader
Assembly: MSCLoader (in MSCLoader.dll) Version: 1.2.11.286

Syntax

C#

public Keybind(
	string id,
	string name,
	KeyCode key,
	KeyCode modifier
)

View Source

Parameters

 

id
Type: System.String
The ID of the Keybind (Used only once in your mod).
name
Type: System.String
The name of the Keybind that will be displayed.
key
Type: KeyCode
The KeyCode the user will press.
modifier
Type: KeyCode
The modifier KeyCode the user will have to press.

See Also

Reference

Keybind Class
Keybind Overload
MSCLoader Namespace

Clone this wiki locally