Skip to content
Orbdale

Orbdale Terrain · OrbdaleTerrainCore module · struct

Native::

FTerrainNetRepair

Experimental

The repair of one client after a checkpoint mismatch, placed at that client's position so ordering stays exact.

Declaration

struct FTerrainNetRepair
Header
#include "Native/Net/NetRecord.h"
Module
PublicDependencyModuleNames.Add("OrbdaleTerrainCore"); in your module’s Build.cs.
Stability
Experimental: supported, may change in a minor version, with a changelog line.

Description

Payload: a sculpt patch's tiles and a feature stack, each length-prefixed. The tiles are checked as DecodeSculptPatch checks them; the stack is checked for length only, and the world checks its content. At least one is non-empty.

Properties

NameTypeDefaultMeaning
Tilesstd::vector<uint8_t>—

Empty when only the stack differs.

Stackstd::vector<uint8_t>—

Empty when the stack matched.