Skip to content

Interface ICommandDispatcher

Namespace: Void.Proxy.Api.Commands
Assembly: Void.Proxy.Api.dll

Manages the Brigadier command tree by registering top-level command nodes. The concrete implementation is CommandDispatcher, which roots all nodes under a single RootCommandNode.

public interface ICommandDispatcher

Methods

Add(ICommandNode)

Registers node as a direct child of the root command node, making it available for dispatch and tab-completion.

void Add(ICommandNode node)

Parameters

node ICommandNode

The command node to add. Must be a concrete CommandNode instance; any other implementation throws .