Skip to content
Orbdale

Orbdale Terrain · OrbdaleTerrainCore module · struct

Native::

FFeatureWireOp

Experimental

One stack op of a FeatureOps record: the result of a commit, not the call.

Declaration

struct FFeatureWireOp
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

The feature bytes are one feature in the save's stack encoding (section STAK, feature layout 3), which this codec checks for length only; FTerrainWorld::ApplyFeatureOps decodes them. Undo stamps never travel: undo is the server's. Tier 1, plain data.

Properties

NameTypeDefaultMeaning
KindEFeatureWireOpKindEFeatureWireOpKind::Insert—
IdFFeatureId0

Non-zero.

AnchorFFeatureId0

Insert: below this id, 0 = on top; with bAboveAnchor, directly above it, 0 = at the bottom.

bAboveAnchorboolfalse

Insert only.

Featurestd::vector<uint8_t>—

Insert, Replace: non-empty. Remove: empty.