World partition
ChunkStateResult
The result of one change, passed to the callback of a ChunkStateService call.
generated from the sources
Struct in namespace
Nebula.World · Packages/com.1by3.nebula/Runtime/World/ChunkStateService.cspublic readonly struct ChunkStateResultThe result of one change, passed to the callback of a ChunkStateService call.
Fields
Outcome
public readonly ChunkStateOutcome Outcome;What became of the change.
HasState
public readonly bool HasState;The object has an entry: after an applied change, the entry now; after a conflict or a refused change, the entry the worker found. False means untouched (or unknown, for ChunkStateOutcome.TimedOut and ChunkStateOutcome.Unavailable).
State
public readonly ObjectState State;The entry, when HasState is true.
Properties
Succeeded
public bool Succeeded { get; }Whether the change was applied.
Methods
ToString
public override string ToString();