Table of Contents

Interface IServer

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

Public interface for the server composition root. This surface represents the instance-level public API of a server MonoBehaviour implementation.

public interface IServer

Properties

AddressProvider

Provider that exposes the server's local bind address, external/remote address and port resolution.

IServerAddressProvider AddressProvider { get; }

Property Value

IServerAddressProvider

Configuration

Active server configuration used to construct and initialize core server components.

IServerConfiguration Configuration { get; }

Property Value

IServerConfiguration

CoreServer

The core server logic instance responsible for login, world, and scene servers and for holding address state.

ICoreServer CoreServer { get; }

Property Value

ICoreServer

Database

The database orchestrator providing centralized access to the service registry, health monitoring, metrics, and the context factory. Prefer using Database.ServiceRegistry.TryGet<TService> to resolve services instead of instantiating them directly.

IDatabase Database { get; }

Property Value

IDatabase

ServerEvents

Exposes server lifecycle events such as login/world/scene initialization and other runtime signals.

IServerEvents ServerEvents { get; }

Property Value

IServerEvents

ServerState

Current connection state of the server.

ConnectionState ServerState { get; }

Property Value

ConnectionState