tModLoader v2022.09
A mod to make and play Terraria mods
|
Represents a loaded input binding. It is suggested to access the keybind status only in ModPlayer.ProcessTriggers. More...
Public Member Functions | |
List< string > | GetAssignedKeys (InputMode mode=InputMode.Keyboard) |
Gets the currently assigned keybindings. Useful for prompts, tooltips, informing users. More... | |
Represents a loaded input binding. It is suggested to access the keybind status only in ModPlayer.ProcessTriggers.
List< string > Terraria.ModLoader.ModKeybind.GetAssignedKeys | ( | InputMode | mode = InputMode.Keyboard | ) |
Gets the currently assigned keybindings. Useful for prompts, tooltips, informing users.
mode | The InputMode. Choose between InputMode.Keyboard and InputMode.XBoxGamepad |