Skip to content
Brass Orrery

Orrery Terrain · OrreryTerrainCore module · function

Native::

FeatureOpsOf

Experimental

The FeatureOps record of one stack change, as the authority's commit listener hands it out (FTerrainWorld::SetCommitListener): each op with its id, anchor and feature bytes (EncodeFeature), and the next feature id.

Declaration

void FeatureOpsOf(const FStackCommit& Commit, FFeatureOpsRecord& Out);
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.

Description

EncodeFeatureOps then writes it.

Parameters

NameTypeDefaultMeaning
Commitconst FStackCommit&—

The listener's argument.

OutFFeatureOpsRecord&—

Overwritten.

Note.

Allocates the feature bytes: once per commit, never per tick.