Click or drag to resize
CommandCallback Delegate
Delegate to use with registering commands.

Namespace: spaar.ModLoader
Assembly: SpaarModLoader (in SpaarModLoader.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
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: String
Result of the command, will be printed to the console, if not null or empty string.
See Also