Table of Contents

Interface IWorldSource

Namespace
GrindFest.Content
Assembly
GrindFest.dll

A world generator that declares its prefab needs instead of letting the engine guess (decision D16: the world is a package, not a mode switch in the boot path).

Implementations are contributed by content packages; the base game ships the Ink world. Returning an empty list is legitimate (tests, "no world", a world that builds everything procedurally).

The returned addresses are preloaded through AssetLibrary before generation runs, which is what keeps the synchronous FindPrefab path in world generation a cache hit (D17/D18).

public interface IWorldSource

Properties

Id

Stable id, recorded in the save next to the world it created.

Title

Human-readable name for the world selection UI.

Methods

CollectPrefabAddressesAsync(WorldScope, CancellationToken)

Addresses that must be resident for the given scope. Never null.