Table of Contents

Class RconConfiguration

Namespace
Obsidian.API.Configuration
Assembly
Obsidian.API.dll
public sealed record RconConfiguration : IEquatable<RconConfiguration>
Inheritance
RconConfiguration
Implements
Inherited Members

Constructors

RconConfiguration()

public RconConfiguration()

Properties

BroadcastToOps

Whether the RCON commands should be sent to currently online Operators.

public bool BroadcastToOps { get; set; }

Property Value

bool

Password

Password to access the RCON.

public string? Password { get; set; }

Property Value

string

Port

Port on which RCON server listens.

public ushort Port { get; set; }

Property Value

ushort

RequireEncryption

Whether the server will require the encryption before authenticating

public bool RequireEncryption { get; set; }

Property Value

bool

Methods

Equals(RconConfiguration?)

public bool Equals(RconConfiguration? other)

Parameters

other RconConfiguration

Returns

bool

Equals(object?)

public override bool Equals(object? obj)

Parameters

obj object

Returns

bool

GetHashCode()

public override int GetHashCode()

Returns

int

ToString()

public override string ToString()

Returns

string

Operators

operator ==(RconConfiguration?, RconConfiguration?)

public static bool operator ==(RconConfiguration? left, RconConfiguration? right)

Parameters

left RconConfiguration
right RconConfiguration

Returns

bool

operator !=(RconConfiguration?, RconConfiguration?)

public static bool operator !=(RconConfiguration? left, RconConfiguration? right)

Parameters

left RconConfiguration
right RconConfiguration

Returns

bool