Table of Contents

Interface IClientService

Namespace
FishMMO.Client
Assembly
FishMMO.Client.dll

A module's piece of the client that lives as long as the client does (Phase 4 of the core and modules plan, 2026-11-18): the weather's mirror of the scene server's weather. The client makes one of each registered service when it starts, ticks them every frame, clears them when the world is left or the scene server changes, and shuts them down with itself.

public interface IClientService

Methods

Clear()

Called when the world is left or another scene server takes over: drop what the last one sent.

void Clear()

Initialize(NetworkManager)

Called once when the client starts: register broadcasts here.

void Initialize(NetworkManager manager)

Parameters

manager NetworkManager

Shutdown()

Called once when the client shuts down: unregister here.

void Shutdown()

Tick(float)

Called every frame.

void Tick(float deltaTime)

Parameters

deltaTime float