Orrery Terrain · OrreryTerrainCore module · function
Native::
PeekBrushMaskRecord
ExperimentalThe hash and canonical size a BrushMask payload starts with, unchecked.
Declaration
bool PeekBrushMaskRecord(const uint8_t* Data, size_t Size, uint64_t& OutHash, uint32_t& OutCanonicalBytes);- 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
| Name | Type | Default | Meaning |
|---|---|---|---|
Data | const uint8_ | — | — |
Size | size_ | — | — |
OutHash | uint64_ | — | — |
OutCanonicalBytes | uint32_ | — | — |
Returns
false when Size is under kNetBrushMaskHashOnlyBytes. Pure.