Interface IWorldSceneSystem
- Namespace
- FishMMO.Server.Core.World.WorldServer
- Assembly
- FishMMO.Server.dll
Engine-agnostic API for managing player connections and scene assignment for a world server. Implementations provide engine-specific behavior (for example the Unity-backed implementation in the implementation layer) while keeping signatures free of engine types so core code can depend on this contract.
public interface IWorldSceneSystem : IServerBehaviour, IServerComponent
Methods
GetMaxClients(string)
Returns the maximum number of clients allowed in a single instance of the specified scene. Implementations may consult configuration, caches, or default limits to determine the value.
int GetMaxClients(string sceneName)
Parameters
sceneNamestringIdentifier or name of the scene.
Returns
- int
Maximum concurrent clients allowed per scene instance (always >= 1).