Skip to content
Brass Orrery

Orrery Terrain · OrreryTerrain module · class

ITerrainNetToClient

Experimental

The server's side of one link: what it sends that client.

Declaration

class ITerrainNetToClient
Header
#include "Net/TerrainNetTransport.h"
Module
PublicDependencyModuleNames.Add("OrreryTerrain"); in your module’s Build.cs.
Stability
Experimental: supported, may change in a minor version, with a changelog line.
Thread
Game thread.

Description

The calls marked reliable must arrive once and in the order they were made (the batch stream is stateful), as reliable RPCs on one actor channel do.

Note.

Game thread.

Functions

  • SendWelcome

    Reliable: the Hello was accepted; the join's chunks follow.

  • SendRefuseJoin

    Reliable: the Hello was refused; the link carries nothing more.

  • SendJoinChunk

    Reliable: one part, at most kTerrainNetMaxPartBytes, of the join's snapshot; bEnd on its last.

  • SendRecords

    Reliable: one part of a record batch (FNetBatchWriter); bEnd on its last.

  • SendResults

    Reliable: request outcomes, in request order.

  • SendRepairLeaves

    Reliable: one part of the server's hash leaves at the checkpoint this client disagreed on (FTerrainRepairLeaves); bEnd on its last.

  • SendRepair

    Reliable: one part of the Repair record (EncodeNetRecord, kind Repair) that answers the client's request; bEnd on its last.

  • IsReady

    false while the connection is saturated (UNetConnection::IsNetReady): the hub sends nothing more this tick.