Orrery Terrain · OrreryTerrainCore module · member function
Native::FJoinStreamWriter::
TakeHeldCodes
ExperimentalTake the joiner's answer, once: the stream then frames only the codes the joiner does not hold.
Declaration
bool TakeHeldCodes(const uint8_t* Answer, size_t Size);- 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
- Game thread, after a successful Prepare.
Parameters
| Name | Type | Default | Meaning |
|---|---|---|---|
Answer | const uint8_ | — |
|
Size | size_ | — | Bytes of Answer. |
Returns
false, changing nothing, when this is no HeldCodes stream, an answer was already taken, or the answer does not fit this save: its size, its FileHash, its tile count or a bit past the last tile.
Note.
Game thread, after a successful Prepare. It only queues: the next Produce applies it.