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

Class RconClientConnectingEvent

Inheritance
System.Object
EventBase
Event
RconClientEvent
RconClientConnectingEvent
Implements
ICancellableEvent
IEvent
Inherited Members
RconClientEvent.Client
Event.Arguments
EventBase.Name
EventBase.Data
Namespace: OpenMod.Core.Rcon.Events
Assembly: OpenMod.Core.dll
Syntax
public class RconClientConnectingEvent : RconClientEvent, ICancellableEvent, IEvent

Constructors

| Improve this Doc View Source

RconClientConnectingEvent(IRconClient)

Declaration
public RconClientConnectingEvent(IRconClient client)
Parameters
Type Name Description
IRconClient client

Properties

| Improve this Doc View Source

IsCancelled

Declaration
public bool IsCancelled { get; set; }
Property Value
Type Description
System.Boolean
| Improve this Doc View Source

RejectionReason

Declaration
public string? RejectionReason { get; set; }
Property Value
Type Description
System.Nullable<System.String>

Methods

| Improve this Doc View Source

RejectAsync(Nullable<String>)

Declaration
public Task RejectAsync(string? reason)
Parameters
Type Name Description
System.Nullable<System.String> reason
Returns
Type Description
Task

Implements

ICancellableEvent
IEvent

Extension Methods

DisposeHelper.DisposeSyncOrAsync(Object)