Interface ICommandSource
Represents a command source that provides commands.
Namespace: OpenMod.API.Commands
Assembly: OpenMod.API.dll
Syntax
public interface ICommandSource
Methods
| Improve this Doc View SourceGetCommandsAsync()
Gets the commands from the command source.
Declaration
Task<IReadOnlyCollection<ICommandRegistration>> GetCommandsAsync()
Returns
Type | Description |
---|---|
Task<IReadOnlyCollection<ICommandRegistration>> | Commands of this provider. |