Orrery Terrain · OrreryTerrainCore module · function
Native::
DecodeMaskUpload
ExperimentalRead a MaskUpload payload, all of Size.
Declaration
ENetDecode DecodeMaskUpload(const uint8_t* Data, size_t Size, FNetMaskUpload& Out);- 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.
- Thread
- Pure, any thread.
Parameters
| Name | Type | Default | Meaning |
|---|---|---|---|
Data | const uint8_ | — | The payload. |
Size | size_ | — | Its bytes. |
Out | FNet | — | The part; its Chunk points into Data. |
Returns
Ok; Truncated (under the header), BadPayload (hash 0, an offer at an Offset other than 0), BadLength (a canonical size that is no mask's, a total out of range, a chunk over kNetMaskUploadChunkBytes or past the total). Out is unspecified unless Ok.
Note.
Pure, any thread.