Table of Contents

Class EcsBuilderCommandsExtensions

Namespace
SampSharp.Entities.SAMP.Commands
Assembly
SampSharp.OpenMp.Entities.Commands.dll

Extension methods for configuring the command system middleware in the ECS builder.

public static class EcsBuilderCommandsExtensions
Inheritance
EcsBuilderCommandsExtensions
Inherited Members

Methods

UseConsoleCommands(IEcsBuilder)

Adds console command processing middleware to the ECS configuration.

public static IEcsBuilder UseConsoleCommands(this IEcsBuilder builder)

Parameters

builder IEcsBuilder

Returns

IEcsBuilder

The ECS builder for chaining.

UsePlayerCommands(IEcsBuilder)

Adds player command processing middleware to the ECS configuration.

public static IEcsBuilder UsePlayerCommands(this IEcsBuilder builder)

Parameters

builder IEcsBuilder

Returns

IEcsBuilder

The ECS builder for chaining.