Skip to content
Brass Orrery

Orrery Terrain · OrreryTerrainCore module · class

Native::

IJoinSaveStore

Experimental

Where a join writer keeps the save it streams from: Prepare writes the save into it once, then the writer reads its frames back through the file Finish returns, so the host holds a read-ahead per joiner rather than the save.

Declaration

class IJoinSaveStore
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.

Description

The shell's store is a file under Saved/ (FTerrainJoinFile).

Tier 1. Made, written and finished on Prepare's thread. The writer drops the file Finish returned before it destroys the store, so a store may delete its bytes in its destructor.

Functions

  • Sink

    Prepare's WriteSave target; asked once, before the first write.

  • Finish

    Close the sink.