Enum CommandExecutionResult
Namespace: Void.Proxy.Api.Commands
Assembly: Void.Proxy.Api.dll
Describes the outcome of a command dispatched through
public enum CommandExecutionResultExtension Methods
StructExtensions.IsDefault<CommandExecutionResult>(CommandExecutionResult)
Fields
Exception = 2
Parsing the command input raised a CommandSyntaxException.
When the source is a player the exception message is delivered to them before this value is returned.
Executed = 1
The command was matched to a registered Brigadier node and dispatched for execution.
Forwarded = 0
The command was not matched by any registered handler and was forwarded to the backend server.
This outcome only occurs when the source is a player; a console source returns