Skip to content

API reference Obsidian.API.Client

ClientPayloadHandler<TPayload> delegate

Handles a payload the server sent on a mod's channel. It runs on the connection's packet thread, so hand work for the game over to it rather than blocking.

public delegate void ClientPayloadHandler<TPayload>(TPayload payload, IClientConnection connection) where TPayload : ICustomPayload<TPayload>;

In Obsidian.API.Client.

On this page