Table of Contents

Interface ICoreServer

Namespace
FishMMO.Server.Core
Assembly
FishMMO.Server.dll

Represents the core, engine-agnostic server logic. Defines the contract for initializing and accessing core server data.

public interface ICoreServer

Properties

Address

Gets the local address of the server.

string Address { get; }

Property Value

string

Port

Gets the port number the server is listening on.

ushort Port { get; }

Property Value

ushort

RemoteAddress

Gets the remote address of the server.

string RemoteAddress { get; }

Property Value

string

Methods

Deinitialize()

Deinitializes the core server, releasing resources as needed.

void Deinitialize()

Initialize(string, string)

Initializes the core server with the specified remote address and server type name.

void Initialize(string remoteAddress, string serverTypeName)

Parameters

remoteAddress string

The remote address to use for initialization.

serverTypeName string

The name of the server type.