Table of Contents

Interface IServerBehaviour<TNetworkManager, TServerManager, TConnection, TServerBehaviour>

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

Public interface representing the public API surface of server-side behaviours. Typical implementations are ScriptableObject-derived types that register with the server and perform server-side logic (for example FishMMO.Server.Implementation.ServerBehaviour). Extends IServerComponent to participate in the unified component initialization lifecycle.

public interface IServerBehaviour<TNetworkManager, TServerManager, TConnection, TServerBehaviour> : IServerBehaviour, IServerComponent<TNetworkManager, TServerManager, TConnection, IServerBehaviour>, IServerComponent where TServerBehaviour : IServerBehaviour

Type Parameters

TNetworkManager

The concrete network manager or wrapper type exposed by the server (for example FishNet.Managing.NetworkManager for FishNet).

TServerManager

The concrete server manager type exposed by the server (for example FishNet.Managing.Server.ServerManager for FishNet).

TConnection

The transport's connection representation (for example FishNet.Connection.NetworkConnection for FishNet).

TServerBehaviour

The concrete server behaviour type (for example FishMMO.Server.Implementation.ServerBehaviour).

Inherited Members

Remarks

Implementations should expose the server instance, server manager and lifecycle hooks used by the server runtime to initialize and tear down server behaviours in a controlled manner.