CommandHandler
Namespace Mc.Scripting.Commands · Kind delegate
public delegate void CommandHandler(CommandContext context)A flat command body (Commands.Register("name", ctx => ...)): reads CommandContext.Args and may set CommandContext.Result.
Parameters
| Name | Type | Description |
|---|---|---|
context |
CommandContext |
The invocation. |