Table of Contents

Interface IServer<TNetworkManager, TConnection, TServerBehaviour>

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<TNetworkManager, TConnection, TServerBehaviour> : IServer where TServerBehaviour : IServerComponent

Type Parameters

TNetworkManager

Type of the network manager or wrapper exposed by the implementation (for example a network wrapper interface).

TConnection

Type used to represent transport connections (for example NetworkConnection for FishNet).

TServerBehaviour

Type used to represent server behaviours (for example FishMMO.Server.Implementation.ServerBehaviour).

Inherited Members

Properties

AccountManager

Account manager responsible for account lifecycle, lookups and persistence operations. The generic connection type corresponds to the transport's connection representation.

IAccountManager<TConnection> AccountManager { get; }

Property Value

IAccountManager<TConnection>

BehaviourRegistry

Registry that manages all server behaviours.

IServerBehaviourRegistry<TNetworkManager, TConnection, IServerBehaviour> BehaviourRegistry { get; }

Property Value

IServerBehaviourRegistry<TNetworkManager, TConnection, IServerBehaviour>

DataContainerRegistry

Registry that manages all runtime data containers.

IServerComponentRegistry<TNetworkManager, TConnection, IRuntimeDataContainer> DataContainerRegistry { get; }

Property Value

IServerComponentRegistry<TNetworkManager, TConnection, IRuntimeDataContainer>

NetworkWrapper

Network manager or wrapper instance used to interact with the transport layer and FishNet abstractions.

TNetworkManager NetworkWrapper { get; }

Property Value

TNetworkManager