Orrery Terrain · OrreryTerrainCore module · class
Native::
FNetMaskUploadAssembly
ExperimentalPuts one brush mask upload back together on the server, in order.
Declaration
class FNetMaskUploadAssembly- Header
#include "Native/Net/NetRecord.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
Start takes the offer; Add takes each chunk: a chunk that starts at or before the bytes held adds only what is new (a part sent again after a resume changes nothing), one that starts past them is a gap. Finish decodes the upload and holds its hash and size to the offer's. Tier 1, one thread at a time; holds at most TotalBytes.
Functions
- Start
Begin the upload an offer names, dropping any other.
- Add
Add one chunk.
- Finish
Decode the whole upload and check it.
- Reset
Forget the upload and its bytes.
- Hash
The offer's hash; 0 before Start.
- CanonicalBytes
The offer's canonical size.
- TotalBytes
The upload's size.
- Received
Bytes held, from the upload's start.
- Complete