OpenMod Docs OpenMod Docs
OpenMod Docs OpenMod Docs
OpenMod .NET Plugin Framework.

Class UnturnedCommandSource

Inheritance
System.Object
UnturnedCommandSource
Namespace: OpenMod.Unturned.Commands
Assembly: OpenMod.Unturned.dll
Syntax
public class UnturnedCommandSource : ICommandSource

Constructors

| Improve this Doc View Source

UnturnedCommandSource(IOpenModHost)

Declaration
public UnturnedCommandSource(IOpenModHost host)
Parameters
Type Name Description
IOpenModHost host

Methods

| Improve this Doc View Source

GetCommandsAsync()

Declaration
public Task<IReadOnlyCollection<ICommandRegistration>> GetCommandsAsync()
Returns
Type Description
Task<IReadOnlyCollection<ICommandRegistration>>

Extension Methods

DisposeHelper.DisposeSyncOrAsync(Object)