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

Class UnturnedCommandHandler

Inheritance
System.Object
UnturnedCommandHandler
Namespace: OpenMod.Unturned.Users
Assembly: OpenMod.Unturned.dll
Syntax
public class UnturnedCommandHandler : IDisposable

Constructors

| Improve this Doc View Source

UnturnedCommandHandler(ICommandExecutor, IUserManager)

Declaration
public UnturnedCommandHandler(ICommandExecutor commandExecutor, IUserManager userManager)
Parameters
Type Name Description
ICommandExecutor commandExecutor
IUserManager userManager

Methods

| Improve this Doc View Source

Dispose()

Declaration
public void Dispose()
| Improve this Doc View Source

OnCheckCommandPermissions(SteamPlayer, String, ref Boolean, ref Boolean)

Declaration
protected virtual void OnCheckCommandPermissions(SteamPlayer steamPlayer, string text, ref bool shouldExecuteCommand, ref bool shouldList)
Parameters
Type Name Description
SteamPlayer steamPlayer
System.String text
System.Boolean shouldExecuteCommand
System.Boolean shouldList
| Improve this Doc View Source

Subscribe()

Declaration
public virtual void Subscribe()
| Improve this Doc View Source

Unsubscribe()

Declaration
public virtual void Unsubscribe()

Extension Methods

DisposeHelper.DisposeSyncOrAsync(Object)