VR Development Framework
v 1.0.0
Main Page
Related Pages
Namespaces
Classes
All
Classes
Namespaces
Functions
Variables
Enumerations
Enumerator
Properties
Events
Pages
AVR
Core
AVR_DevConsole
cerror
cerror
cerror
clear
command
command_history
command_history_limit
commands
cprint
cprint
cprint
csuccess
csuccess
csuccess
cwarn
cwarn
cwarn
echo_command
error
get_text
HandleLog
help_command
history
init
initialized
OnCommand
OnPrint
output_history
output_s
print
print_all_available_commands
raw_print
register_all_attribute_commands
register_command
register_command
register_command
repeat_counter
sample_command
success
warn
static void AVR.Core.AVR_DevConsole.register_command
(
string
name
,
System.Action< string[]>
func
,
string
desc
)
inline
static
Registers a new command to the console.
Parameters
name
Identifier-string for the command. This is the token a user should input to execute the command. Should contain no spaces.
func
Action performed when the command is executed.
desc
Brief description of how the command works/what it does. Is provided when used with the "help" command.
Definition at line
288
of file
AVR_DevConsole.cs
.
288
{
289
commands.Add(
new
AVR_ConsoleCommand(name, func, 0, desc));
290
}