Skip to content
Brass Orrery

Orrery Terrain · OrreryTerrainEditor module · function

OrreryTerrainImportChecks::

WarnIfStale

Editor only

Log a LogOrreryTerrainShell warning when the store was imported from a Landscape that has changed since.

Declaration

bool WarnIfStale(const UOrreryTerrainTileStoreAsset& Store, const TCHAR* Context);
Header
#include "OrreryTerrainImportChecks.h"
Module
PublicDependencyModuleNames.Add("OrreryTerrainEditor"); in an editor module’s Build.cs: an editor module, not in packaged games.
Stability
Stable: changes within a major version only add.
Thread
Game thread, editor only.

Parameters

NameTypeDefaultMeaning
Storeconst UOrreryTerrainTileStoreAsset&—

The store to check.

Contextconst TCHAR*—

Where it was noticed, for the message (for example "cook").

Returns

true when a warning was logged. An unloaded Landscape logs at Verbose and returns false.

Note.

Game thread, editor only.