Table of Contents

Interface ICommandHelpProvider

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

Provides help information about commands for use in help commands.

public interface ICommandHelpProvider

Methods

GetAllCommands()

Gets all available commands.

IEnumerable<CommandDefinition> GetAllCommands()

Returns

IEnumerable<CommandDefinition>

GetCommandGroups()

Gets all available command groups.

IEnumerable<CommandGroup> GetCommandGroups()

Returns

IEnumerable<CommandGroup>

GetCommandsInGroup(CommandGroup)

Gets all commands in a specific group.

IEnumerable<CommandDefinition> GetCommandsInGroup(CommandGroup group)

Parameters

group CommandGroup

Returns

IEnumerable<CommandDefinition>

SearchCommands(string)

Searches for commands matching a query.

IEnumerable<CommandDefinition> SearchCommands(string query)

Parameters

query string

Returns

IEnumerable<CommandDefinition>