| CommandCallback Delegate |
Delegate to use with registering commands.
Namespace: spaar.ModLoaderAssembly: SpaarModLoader (in SpaarModLoader.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax public delegate string CommandCallback(
string[] args,
IDictionary<string, string> namedArgs
)
Parameters
- args
- Type: SystemString
The unnamed arguments passed on the command line,
in the order they appear. - namedArgs
- Type: System.Collections.GenericIDictionaryString, String
The named arguments passed on the command line.
Return Value
Type:
StringResult of the command, will be printed to the console,
if not null or empty string.
See Also