Orrery Terrain · OrreryTerrainCore module · member function
Native::FJoinStreamReader::
CacheAnswer
ExperimentalWhat a HeldCodes stream's writer needs to hear (FJoinStreamWriter::TakeHeldCodes): U64 the head's FileHash, U32 the index's tile count, then one bit a tile in index order, lowest bit first, set when the joiner holds its code.
Declaration
const std::vector<uint8_t>& CacheAnswer() const;- 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.
- 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
Empty until CacheFilled, and for any other stream.