VR Development Framework
v 1.0.0
 All Classes Namespaces Functions Variables Enumerations Enumerator Properties Events Pages
Public Member Functions | Public Attributes | List of all members
AVR.Core.AVR_DevConsole.AVR_ConsoleCommand Class Reference

Represents a command for the AVR_Devconsole More...

Public Member Functions

 AVR_ConsoleCommand (string name, System.Action< string[]> func, int min_args=0, string desc="No description given.")
 Represents a command for the AVR_Devconsole

Parameters
nameIdentifier-string for the command. This is the token a user should input to execute the command. Should contain no spaces.
funcAction performed when the command is executed.
min_argsMinimum amount of arguments the command requires. If less are provided an error is given to the user.
descBrief description of how the command works/what it does. Is provided when used with the "help" command.
More...
 

Public Attributes

string name
 
System.Action< string[]> func
 
int min_args
 
string desc
 

Detailed Description

Represents a command for the AVR_Devconsole

Definition at line 241 of file AVR_DevConsole.cs.