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

Class RconStartListener

Inheritance
System.Object
RconStartListener
Implements
IEventListener<OpenModInitializedEvent>
IEventListener
Namespace: OpenMod.Core.Rcon
Assembly: OpenMod.Core.dll
Syntax
public class RconStartListener : object, IEventListener<OpenModInitializedEvent>, IEventListener

Constructors

| Improve this Doc View Source

RconStartListener(IEventBus, IRuntime, IConfiguration)

Declaration
public RconStartListener(IEventBus eventBus, IRuntime runtime, IConfiguration openModConfiguration)
Parameters
Type Name Description
IEventBus eventBus
IRuntime runtime
IConfiguration openModConfiguration

Methods

| Improve this Doc View Source

HandleEventAsync(Nullable<Object>, OpenModInitializedEvent)

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

Implements

IEventListener<TEvent>
IEventListener

Extension Methods

DisposeHelper.DisposeSyncOrAsync(Object)