Skip to content
Brass Orrery

Orrery Terrain · OrreryTerrain module · struct

FOrreryTerrainFileSave

What a file save did: the game's own save keeps Path, Bytes, FileHash, StateHash and NaturalHash beside each other, so a mismatched pair is refused at load (FOrreryTerrainSaveRef wraps them).

Declaration

struct FOrreryTerrainFileSave
Header
#include "OrreryTerrainSubsystem.h"
Module
PublicDependencyModuleNames.Add("OrreryTerrain"); in your module’s Build.cs.
Stability
Stable: changes within a major version only add.
Thread
Game thread only. (the header’s rule)

Properties

NameTypeDefaultMeaning
ResultEOrreryTerrainSaveResultEOrreryTerrainSaveResult::Ok—
PathFString—

The file written (absolute).

Bytesuint640—
FileHashuint640

The save's trailer: pass it to LoadTerrainFromFile to refuse a file that is not this save.

StateHashuint640

What GetStateHash answers after the load.

NaturalHashuint640

The natural ground the save was made over.

Tilesuint320

Sculpted tiles saved.

ColdTilesuint320

Of them, read back from pages while the file was written.

Secondsdouble0.0

Wall time of the write, on the save task.