Interface IServerBehaviour<TNetworkManager, TServerManager, TConnection, TServerBehaviour>
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
TNetworkManagerThe concrete network manager or wrapper type exposed by the server (for example FishNet.Managing.NetworkManager for FishNet).
TServerManagerThe concrete server manager type exposed by the server (for example FishNet.Managing.Server.ServerManager for FishNet).
TConnectionThe transport's connection representation (for example FishNet.Connection.NetworkConnection for FishNet).
TServerBehaviourThe 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.