Property | Type | Description | |
---|---|---|---|
OnPrint | PrintCallback |
Method | Description | |
---|---|---|
CreateCommand ( |
Creates a new command using the specified method, metadata, and an optional filter.
|
|
Load ( bool loadConfig = true ) : void |
Scans all assemblies in the current application domain, and their references, for command/convar definitions.
|
|
Log ( object value ) : void |
Prints an object's string value to the Devcom output.
|
|
SaveConfig ( ) : void |
Saves the current configuration of the engine.
|
|
SearchCommands ( string query, bool beginsWith = true ) : IEnumerable |
Searches for commands containing the specified substring and returns a collection of matches.
|
|
SearchConvars ( string query, bool beginsWith = true ) : IEnumerable |
Searches for convars containing the specified substring and returns a collection of matches.
|
|
SendCommandAsync ( DeveloperCommands.Context context, string command ) : void |
Executes a command string asynchronously under the specified context.
|
|
SendCommandAsync ( string command ) : void |
Executes a command string asynchronously under the default context.
|
|
Submit ( DeveloperCommands.Context context, string command ) : void |
Executes a command string under the specified context.
|
|
Submit ( string command ) : void |
Executes a command string under the default context.
|
|
TranslateCommand ( DeveloperCommands.Context context, string command ) : DeveloperCommands.Call |
Translates a command string into a reusable Call object.
|
public static CreateCommand ( |
||
method | The method to associate with the command. | |
name | string | The name of the command. |
description | string | The description of the command. |
category | string | The category under which to place the command. |
filter | DeveloperCommands.ContextFilter | The filter rules to apply to the command. |
return | DeveloperCommands.Command |
public static Load ( bool loadConfig = true ) : void | ||
loadConfig | bool | Indicates if the engine should load a configuration file. |
return | void |
public static Log ( object value ) : void | ||
value | object | The value to print. |
return | void |
public static SearchCommands ( string query, bool beginsWith = true ) : IEnumerable |
||
query | string | The query to search for. |
beginsWith | bool | Indicates if the search should only return results that begin with the query. |
return | IEnumerable |
public static SearchConvars ( string query, bool beginsWith = true ) : IEnumerable |
||
query | string | The query to search for. |
beginsWith | bool | Indicates if the search should only return results that begin with the query. |
return | IEnumerable |
public static SendCommandAsync ( DeveloperCommands.Context context, string command ) : void | ||
context | DeveloperCommands.Context | The context under which to execute the command. |
command | string | The command to execute. |
return | void |
public static SendCommandAsync ( string command ) : void | ||
command | string | The command to execute. |
return | void |
public static Submit ( DeveloperCommands.Context context, string command ) : void | ||
context | DeveloperCommands.Context | The context under which to execute the command. |
command | string | The command to execute. |
return | void |
public static Submit ( string command ) : void | ||
command | string | The command to execute. |
return | void |
public static TranslateCommand ( DeveloperCommands.Context context, string command ) : DeveloperCommands.Call | ||
context | DeveloperCommands.Context | The context to attach to the call. |
command | string | The command string to translate. |
return | DeveloperCommands.Call |