Called to execute a command

Namespace: BaseLib.Commands
Assembly: BaseLib (in BaseLib.dll) Version: 0.5.0.0

Syntax

C#
public abstract CommandResult Execute(
	Living p,
	string keyword,
	string arg,
	MatchCollection mc
)

Parameters

p
Type: BaseLib..::..Living
The Living executing the command.
keyword
Type: System..::..String
A String, the keyword used to invoke this command.
arg
Type: System..::..String
A String, the arguments to this command, without the keyword prepended.
mc
Type: System.Text.RegularExpressions..::..MatchCollection

[Missing <param name="mc"/> documentation for "M:BaseLib.Commands.CommandBase.Execute(BaseLib.Living,System.String,System.String,System.Text.RegularExpressions.MatchCollection)"]

Return Value

A CommandResult

See Also