Table of Contents

Delegate StoreDefinitionRecipe

Namespace
Shard.Stores
Assembly
Shard.Stores.dll

Defines Flecs state in a borrowed Store during world creation.

public delegate void StoreDefinitionRecipe(World store)

Parameters

store World
Defines Flecs state in a borrowed Store during world creation.

Remarks

The callback must complete synchronously, must not retain Store-owned handles, and must not create, progress, quit, reset, or dispose the Store. It may borrow the loaded Store owner from the Flecs.NET user-context slot, but must not retain or replace that context. Core schemas, owner context, identity indexes, activation, and player-join contributors are seeded before recipes run. A recipe may read immutable world configuration and seed per-world values while still defining the same logical component and system set on every invocation.

This managed delegate is server-internal and must never cross a native mod boundary. The uniform-definition rule remains a developer convention rather than an enforced wrapper boundary.