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
| Name | Type | Default | Meaning |
|---|---|---|---|
Result | EOrrery | EOrrery | — |
Path | FString | — | The file written (absolute). |
Bytes | uint64 | 0 | — |
File | uint64 | 0 | The save's trailer: pass it to LoadTerrainFromFile to refuse a file that is not this save. |
State | uint64 | 0 | What GetStateHash answers after the load. |
Natural | uint64 | 0 | The natural ground the save was made over. |
Tiles | uint32 | 0 | Sculpted tiles saved. |
Cold | uint32 | 0 | Of them, read back from pages while the file was written. |
Seconds | double | 0.0 | Wall time of the write, on the save task. |