Skip to content
Brass Orrery

Orrery Terrain · OrreryTerrainCore module · member function

Native::FTerrainReplica::

Repair

Experimental

Apply the authority's Repair record for the checkpoint that faulted: set its tiles exactly, replace the stack with its own, then hold the world to the checkpoint's SyncHash, adopt its next feature id and take its digest.

Declaration

EReplicaRepair Repair(const FNetRecordView& Record);
Header
#include "Native/Net/NetReplica.h"
Module
PublicDependencyModuleNames.Add("OrreryTerrainCore"); in your module’s Build.cs.
Stability
Experimental: supported, may change in a minor version, with a changelog line.
Thread
Game thread.

Description

The open stroke, if any, goes on; its rounding state is not repaired (a divergence there shows at the next checkpoint).

Parameters

NameTypeDefaultMeaning
Recordconst FNetRecordView&—

Kind Repair, Seq the faulted checkpoint's (FaultSeq).

Note.

Game thread. Records queued meanwhile stay queued; Pump goes on after a Repaired.