Interface IServer<TNetworkManager, TConnection, TServerBehaviour>
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
TNetworkManagerType of the network manager or wrapper exposed by the implementation (for example a network wrapper interface).
TConnectionType used to represent transport connections (for example NetworkConnection for FishNet).
TServerBehaviourType 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