Skip to content
Brass Orrery

Orrery Terrain · OrreryTerrainCore module · member function

Native::FNetMaskUploadAssembly::

Add

Experimental

Add one chunk.

Declaration

ENetDecode Add(const FNetMaskUpload& Part);
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.

Parameters

NameTypeDefaultMeaning
Partconst FNetMaskUpload&——

Returns

Ok (new bytes, or a repeat of bytes held); BadPayload for a chunk of another upload (another hash, canonical size or total), an offer, or a first chunk whose bytes do not begin with the offer's hash and size; BadSequence for a chunk that starts past the bytes held. The bytes held are unchanged unless Ok.