Orbdale Terrain · OrbdaleTerrain module · class
UOrbdaleTerrainCommitAsync
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 UOrbdaleTerrainCommitAsync : public UOrbdaleTerrainAsyncBase- Header
#include "OrbdaleTerrainAsyncActions.h"- Module
PublicDependencyModuleNames.Add("OrbdaleTerrain");in your module’s Build.cs.- Stability
- Stable: changes within a major version only add.
- Derives from
UOrbdaleTerrainAsyncBase- Blueprint
- “Orbdale 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 (UOrbdaleTerrainNetSubsystem) 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 | FOrbdale | — | Fires with the committed result (bOk true); Reason is None. |
OnBlueprintAssignable | FOrbdale | — | 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)Orbdale › Terrain › Edit
- Commit Plate (Async)Orbdale › Terrain › Edit