Skip to main content

Module console

Module console 

Source

Structs§

ConsoleVariable
A console variable, by name: one this library registered, or any other (the engine’s included), read and written as T.

Traits§

ConsoleValue
A value a console variable holds.

Functions§

get_variable_text
Any console variable’s value as the console shows it.
register_command
Register the console command name: typing name arg1 arg2 in the console, or -ExecCmds on the command line, calls run with the arguments and the world the command runs in (null when there is none).
set_variable_text
Set any console variable from text.
unregister
Remove a command or variable this library registered.