Skip to content

Delegate ResultConsumer

Namespace: Void.Minecraft.Commands.Brigadier
Assembly: Void.Minecraft.dll

Observes a command execution attempt.

public delegate void ResultConsumer(CommandContext context, bool success, int result)

Parameters

context CommandContext

The execution context.

success bool

Whether execution succeeded.

result int

The command result, or zero for a reported failure.