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

Interface IRconClient

Inherited Members
ICommandActor.PrintMessageAsync(String)
ICommandActor.PrintMessageAsync(String, Color)
IPermissionActor.Id
IPermissionActor.Type
IPermissionActor.DisplayName
IPermissionActor.FullActorName
Namespace: OpenMod.Core.Rcon
Assembly: OpenMod.Core.dll
Syntax
public interface IRconClient : ICommandActor, IPermissionActor

Properties

| Improve this Doc View Source

EndPoint

Declaration
EndPoint EndPoint { get; }
Property Value
Type Description
EndPoint
| Improve this Doc View Source

Host

Declaration
IRconHost Host { get; }
Property Value
Type Description
IRconHost
| Improve this Doc View Source

IsAuthenticated

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

IsConnected

Declaration
bool IsConnected { get; }
Property Value
Type Description
System.Boolean

Methods

| Improve this Doc View Source

DisconnectAsync(Nullable<String>, CancellationToken)

Declaration
Task DisconnectAsync(string? reason = null, CancellationToken cancellationToken = null)
Parameters
Type Name Description
System.Nullable<System.String> reason
CancellationToken cancellationToken
Returns
Type Description
Task
| Improve this Doc View Source

SendMessageAsync(String, CancellationToken)

Declaration
Task SendMessageAsync(string message, CancellationToken cancellationToken = null)
Parameters
Type Name Description
System.String message
CancellationToken cancellationToken
Returns
Type Description
Task
| Improve this Doc View Source

StartAsync(CancellationToken)

Declaration
Task StartAsync(CancellationToken cancellationToken = null)
Parameters
Type Name Description
CancellationToken cancellationToken
Returns
Type Description
Task

Extension Methods

DisposeHelper.DisposeSyncOrAsync(Object)