Table of Contents

Interface ICommandParameterBuilder<T>

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

Adds parameters to a command built from code. They are numbered in the order they are added, from 1.

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

Type Parameters

T
Inherited Members

Methods

WithParameter<TU>(string)

Adds an optional parameter of type TU, which may be left out.

T WithParameter<TU>(string parameter) where TU : notnull

Parameters

parameter string

Returns

T

Type Parameters

TU

WithParameter<TU>(string, string)

Adds an optional parameter of type TU, with help text.

T WithParameter<TU>(string parameter, string helpText) where TU : notnull

Parameters

parameter string
helpText string

Returns

T

Type Parameters

TU

WithRequiredParameter<TU>(string)

Adds a required parameter of type TU, which must be given.

T WithRequiredParameter<TU>(string parameter) where TU : notnull

Parameters

parameter string

Returns

T

Type Parameters

TU

WithRequiredParameter<TU>(string, string)

Adds a required parameter of type TU, with help text.

T WithRequiredParameter<TU>(string parameter, string helpText) where TU : notnull

Parameters

parameter string
helpText string

Returns

T

Type Parameters

TU