Skip to content

Interface IServer

Namespace: Void.Proxy.Api.Servers
Assembly: Void.Proxy.Api.dll

Represents a server that players can connect to.

public interface IServer

Properties

Brand

Gets or sets the implementation brand of the server.

string? Brand { get; set; }

Property Value

string?

Host

Gets the host address of the server.

string Host { get; }

Property Value

string

Name

Gets the name of the server.

string Name { get; }

Property Value

string

Override

Gets or sets the hostname override for the server.

string? Override { get; }

Property Value

string?

Port

Gets the port used for connecting to the server.

int Port { get; }

Property Value

int

Methods

CreateTcpClient()

Creates a connected to this server.

TcpClient CreateTcpClient()

Returns

TcpClient

A configured instance.