Class UnturnedCommandHandler
Inheritance
System.Object
UnturnedCommandHandler
Namespace: OpenMod.Unturned.Users
Assembly: OpenMod.Unturned.dll
Syntax
public class UnturnedCommandHandler : IDisposable
Constructors
| Improve this Doc View SourceUnturnedCommandHandler(ICommandExecutor, IUserManager)
Declaration
public UnturnedCommandHandler(ICommandExecutor commandExecutor, IUserManager userManager)
Parameters
Type | Name | Description |
---|---|---|
ICommandExecutor | commandExecutor | |
IUserManager | userManager |
Methods
| Improve this Doc View SourceDispose()
Declaration
public void Dispose()
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 |
Subscribe()
Declaration
public virtual void Subscribe()
Unsubscribe()
Declaration
public virtual void Unsubscribe()