Skip to content
Brass Orrery

Orrery Terrain · OrreryTerrainCore module · struct

Native::

FFeatureOpsRecord

Experimental

The stack ops one commit, undo, revert or reapply applied, in order, and the stack's NextFeatureId after it.

Declaration

struct FFeatureOpsRecord
Header
#include "Native/Net/NetRecord.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

A replica inserts with the given ids and raises its NextFeatureId to this value, so ids agree on every machine.

Payload layout, little-endian and fixed width: U32 op count (at least 1); per op U8 kind, U64 id, then for Insert U64 anchor and U8 above (0 or 1), and for Insert and Replace U32 feature byte count (at least 1) and the bytes; then U64 NextFeatureId, above every id and anchor in the ops.

Properties

NameTypeDefaultMeaning
Opsstd::vector<FFeatureWireOp>——
NextFeatureIdFFeatureId0—