Table of Contents

Struct ChunkLoadResult

Namespace
TileWorld.Engine.Runtime.Chunks
Assembly
TileWorld.Engine.dll

Describes how a chunk became available to the runtime.

public readonly record struct ChunkLoadResult : IEquatable<ChunkLoadResult>
Implements
Inherited Members

Constructors

ChunkLoadResult(Chunk, ChunkLoadSource)

Describes how a chunk became available to the runtime.

public ChunkLoadResult(Chunk Chunk, ChunkLoadSource Source)

Parameters

Chunk Chunk

The resolved chunk instance.

Source ChunkLoadSource

The source that produced the resolved chunk.

Properties

Chunk

The resolved chunk instance.

public Chunk Chunk { get; init; }

Property Value

Chunk

Source

The source that produced the resolved chunk.

public ChunkLoadSource Source { get; init; }

Property Value

ChunkLoadSource