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

Class UnityEngineCommand

Inheritance
System.Object
CommandBase
UnityEngineCommand
UnturnedCommand
Implements
ICommand
Inherited Members
CommandBase.Context
CommandBase.PrintAsync(String)
CommandBase.PrintAsync(String, Color)
CommandBase.CheckPermissionAsync(String)
Namespace: OpenMod.UnityEngine.Commands
Assembly: OpenMod.UnityEngine.dll
Syntax
public abstract class UnityEngineCommand : CommandBase, ICommand

Constructors

| Improve this Doc View Source

UnityEngineCommand(IServiceProvider)

Declaration
protected UnityEngineCommand(IServiceProvider serviceProvider)
Parameters
Type Name Description
IServiceProvider serviceProvider

Methods

| Improve this Doc View Source

ExecuteAsync()

Declaration
public override sealed Task ExecuteAsync()
Returns
Type Description
Task
Overrides
CommandBase.ExecuteAsync()
| Improve this Doc View Source

OnExecuteAsync()

Declaration
protected abstract UniTask OnExecuteAsync()
Returns
Type Description
UniTask

Implements

ICommand

Extension Methods

DisposeHelper.DisposeSyncOrAsync(Object)