Skip to content
Orbdale

Orbdale Terrain · OrbdaleTerrainCore module · member function

Native::FJoinStreamReader::

Feed

Experimental

Take the next bytes of the stream.

Declaration

bool Feed(const uint8_t* Data, size_t Size);
Header
#include "Native/Net/NetJoin.h"
Module
PublicDependencyModuleNames.Add("OrbdaleTerrainCore"); in your module’s Build.cs.
Stability
Experimental: supported, may change in a minor version, with a changelog line.
Thread
Feed, TakeDrain, TakeCacheFill and ResidentBytes on one thread (the game thread); Drain on any thread, one call at a time; the file is thread-safe, for the page jobs. (the rule of FJoinStreamReader)

Description

Copies the save bytes into the file; never touches the store.

Parameters

NameTypeDefaultMeaning
Dataconst uint8_t*——
Sizesize_t——

Returns

false once the stream is refused (Error), now or before; nothing is taken after that.