Orrery Terrain · OrreryTerrainCore module · member function
Native::FJoinCache::
Open
ExperimentalRead a kept save's header, directory, index and trailer.
Declaration
static std::shared_ptr<const FJoinCache> Open(std::shared_ptr<ITerrainSaveFile> InFile, EJoinCacheOpen& OutStatus);- 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
- Any thread: a background task's work.
Parameters
| Name | Type | Default | Meaning |
|---|---|---|---|
InFile | std:: | — | The kept save. |
OutStatus | EJoin | — | Why it was refused, or Ok. |
Returns
The cache, or null when refused.
Note.
Any thread: a background task's work. Memory: 24 bytes a sculpted tile, plus the index while it is read.