Table of Contents

Interface IConsoleCommandMessageService

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

Sends formatted command messages to the console.

public interface IConsoleCommandMessageService

Methods

SendUsage(ConsoleCommandDispatchContext, IReadOnlyList<CommandDefinition>, string)

Sends a usage message to the console.

bool SendUsage(ConsoleCommandDispatchContext context, IReadOnlyList<CommandDefinition> overloads, string usedCommandName = "")

Parameters

context ConsoleCommandDispatchContext

The console command dispatch context.

overloads IReadOnlyList<CommandDefinition>

All overloads of the command.

usedCommandName string

The actual command name/path used (e.g., alias name). Empty string means use canonical command name.

Returns

bool

True to continue processing, false to stop.