Skip to content
Brass Orrery

Orrery Terrain · OrreryTerrainCore module · member function

Native::FNetBatchReader::

Open

Experimental

Check a batch and make it the one Next reads.

Declaration

ENetDecode Open(const uint8_t* Data, size_t Size);
Header
#include "Native/Net/NetBatch.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

Data must stay alive and unchanged while Next is called.

Parameters

NameTypeDefaultMeaning
Dataconst uint8_t*——
Sizesize_t——

Returns

Ok, with the stream advanced past the batch; otherwise why it is refused, with the stream unchanged and nothing to read.