Skip to content

CommandExecutor

Namespace Mc.Scripting.Commands · Kind delegate

public delegate int CommandExecutor(CommandContext context)

A command executor: runs the command and returns its result (vanilla semantics: the number /execute store sees; 1 = success).

Parameters

Name Type Description
context CommandContext The invocation.

Returns int