Skip to content
Brass Orrery

Orrery Terrain · OrreryTerrainCore module · member function

Native::FTerrainNetLog::

Append

Experimental

Append one record the authority applied.

Declaration

ENetDecode Append(ETerrainNetRecordKind Kind, FTerrainAuthor Author, const uint8_t* Payload, size_t Size, FNetSeq* OutSeq = nullptr);
Header
#include "Native/Net/NetLog.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 only (the net hub's), like every FTerrainWorld write. (the rule of FTerrainNetLog)

Parameters

NameTypeDefaultMeaning
KindETerrainNetRecordKind—

The record's kind.

AuthorFTerrainAuthor—

The record's author (an FTerrainAuthor).

Payloadconst uint8_t*—

The payload bytes; copied into the log.

Sizesize_t—

The payload's size in bytes.

OutSeqFNetSeq*nullptr

Optional: its sequence number.

Returns

Ok; otherwise CheckNetPayload's refusal, or BadSequence for a Repair, and nothing was appended.