Skip to content
Brass Orrery

Orrery Terrain · OrreryTerrainCore module · struct

Native::

FJoinReaderConfig

Experimental

Where a joiner keeps its stream's save.

Declaration

struct FJoinReaderConfig
Header
#include "Native/Net/NetJoin.h"
Module
PublicDependencyModuleNames.Add("OrreryTerrainCore"); in your module’s Build.cs.
Stability
Experimental: supported, may change in a minor version, with a changelog line.

Properties

NameTypeDefaultMeaning
MakeStorestd::function<std::unique_ptr<IJoinReceiveStore>(uint64_t FileSize)>—

Makes the store for a save of FileSize bytes (the head's), called once, on the first Drain's thread; null from it stops the reader (StoreFailed).

Empty: the save stays in memory (Tier 1 tests).

Cachestd::shared_ptr<const FJoinCache>—

The save kept from an earlier join, which a WholeSave or HeldCodes stream takes bytes from (FJoinStreamReader::FillFromCache).

Null: none.