Skip to content
Orbdale

Orbdale Terrain · OrbdaleTerrain module · member function

UOrbdaleTerrainSubsystem::

LoadTerrainAsync

Load the save a reference names, through LoadTerrainFromFile with the reference's file hash: a file that is not the save the game recorded is refused as Corrupt.

Declaration

void LoadTerrainAsync(const FOrbdaleTerrainSaveRef& Ref, FOnTerrainLoaded Done);
Header
#include "OrbdaleTerrainSubsystem.h"
Module
PublicDependencyModuleNames.Add("OrbdaleTerrain"); in your module’s Build.cs.
Stability
Stable: changes within a major version only add.
Thread
Game thread.

Description

A missing file answers NotFound.

Parameters

NameTypeDefaultMeaning
Refconst FOrbdaleTerrainSaveRef&—

The reference SaveTerrainAsync gave; names the file and its hash.

DoneFOnTerrainLoaded—

Called on the game thread exactly once, before this function returns (the codes page from the file; nothing is read whole).

Note.

Game thread. Refused on a read-only terrain and inside a ground-changed broadcast.