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

Class RocketModCommandEventListener

Inheritance
System.Object
RocketModCommandEventListener
Namespace: OpenMod.Unturned.RocketMod.Commands
Assembly: OpenMod.Unturned.dll
Syntax
public class RocketModCommandEventListener : object

Constructors

| Improve this Doc View Source

RocketModCommandEventListener(ICommandCooldownStore, IOpenModStringLocalizer)

Declaration
public RocketModCommandEventListener(ICommandCooldownStore commandCooldownStore, IOpenModStringLocalizer stringLocalizer)
Parameters
Type Name Description
ICommandCooldownStore commandCooldownStore
IOpenModStringLocalizer stringLocalizer

Methods

| Improve this Doc View Source

HandleEventAsync(Nullable<Object>, CommandExecutedEvent)

Declaration
public Task HandleEventAsync(object? _, CommandExecutedEvent event)
Parameters
Type Name Description
System.Nullable<System.Object> _
CommandExecutedEvent event
Returns
Type Description
Task

Extension Methods

DisposeHelper.DisposeSyncOrAsync(Object)