Table of Contents

Interface ICommandGroupSubCommandBuilder<T>

Namespace
BSGameLib.Chat.Builder
Assembly
BSGameLib.Chat.dll

Adds sub-commands to a command group.

public interface ICommandGroupSubCommandBuilder<out T> : ICommandGroupBuilder where T : ICommandGroupSubCommandBuilder<out T>

Type Parameters

T
Inherited Members

Methods

WithCommand(ICommand)

Adds a command built with the chat engine's CreateCommand or CreateCommandGroup to the group as a sub-command.

T WithCommand(ICommand command)

Parameters

command ICommand

Returns

T

Exceptions

ArgumentException

command was built some other way.