Orrery Terrain · OrreryTerrain module · class
UOrreryTerrainCommitAsync
Commit a plate or a corridor as soon as the ground under it is resident: streams the footprint plus 300 m around it (the terrain bakes in blocks wider than the footprint), tries every frame, and gives up at the timeout.
Declaration
UCLASS()
class UOrreryTerrainCommitAsync : public UOrreryTerrainAsyncBase- Header
#include "OrreryTerrainAsyncActions.h"- Module
PublicDependencyModuleNames.Add("OrreryTerrain");in your module’s Build.cs.- Stability
- Stable: changes within a major version only add.
- Derives from
UOrreryTerrainAsyncBase- Blueprint
- “Orrery Terrain Commit Async”, a Blueprint type
Description
A refusal that waiting cannot fix (read-only, a replica, an invalid feature) fails at once.
On a replica under the built-in replication (UOrreryTerrainNetSubsystem) it sends the feature to the server as a request and completes once the server's record of it has applied here; the result then carries no undo token (undo is the server's). A server refusal fails it.
Functions
- CommitPlateAsyncBlueprintstatic
Commit a plate when its ground is resident.
- CommitCorridorAsyncBlueprintstatic
Commit a corridor when its ground is resident.
- Beginprotected
Called once at Activate, with the terrain, before the first Poll.
- Pollprotected
Called every frame while waiting.
- BroadcastFailedprotected
Fires the node's OnFailed with Reason and the node's failure payload.
Properties
| Name | Type | Default | Meaning |
|---|---|---|---|
OnBlueprintAssignable | FOrrery | — | Fires with the committed result (bOk true); Reason is None. |
OnBlueprintAssignable | FOrrery | — | Fires when the node gives up, with Reason; Result is refused (bOk false) and its Reason text says why when known. |
Blueprint
- Commit Corridor (Async)Orrery › Terrain › Edit
- Commit Plate (Async)Orrery › Terrain › Edit