Table of Contents

Interface ICommandActionBuilder<T>

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

Sets the action of a command built from code.

public interface ICommandActionBuilder<out T> : ICommandBuilder where T : ICommandActionBuilder<out T>

Type Parameters

T
Inherited Members

Methods

WithAction(Action<ICommandContext>)

Sets the action that runs when the command is typed. It receives the command's context.

T WithAction(Action<ICommandContext> action)

Parameters

action Action<ICommandContext>

Returns

T