Table of Contents

Interface ICommandRegistry

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

Represents a registry for managing and retrieving command definitions by name, alias, or group.

public interface ICommandRegistry

Methods

GetAll()

Gets all registered commands.

IEnumerable<CommandDefinition> GetAll()

Returns

IEnumerable<CommandDefinition>

GetCommandsInGroup(CommandGroup)

Gets all commands in a specific group.

IEnumerable<CommandDefinition> GetCommandsInGroup(CommandGroup group)

Parameters

group CommandGroup

Returns

IEnumerable<CommandDefinition>

GetGroups()

Gets all command groups.

IEnumerable<CommandGroup> GetGroups()

Returns

IEnumerable<CommandGroup>