Interface IServer
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
Configuration
Active server configuration used to construct and initialize core server components.
IServerConfiguration Configuration { get; }
Property Value
CoreServer
The core server logic instance responsible for login, world, and scene servers and for holding address state.
ICoreServer CoreServer { get; }
Property Value
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
ServerEvents
Exposes server lifecycle events such as login/world/scene initialization and other runtime signals.
IServerEvents ServerEvents { get; }
Property Value
ServerState
Current connection state of the server.
ConnectionState ServerState { get; }