Skip to content
Brass Orrery

Orrery Terrain · OrreryTerrainCore module · member function

Native::FJoinCache::

Find

Experimental

Where a code with this hash and size sits in the save.

Declaration

bool Find(uint64_t CodeHash, uint32_t CodeSize, uint64_t& OutOffset) const;
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
Tier 1, immutable once open; the file must be thread-safe, as every ITerrainSaveFile. (the rule of FJoinCache)

Parameters

NameTypeDefaultMeaning
CodeHashuint64_t——
CodeSizeuint32_t——
OutOffsetuint64_t&——

Returns

true with OutOffset the code's absolute offset. Not checked: the caller hashes the bytes it reads.