Table of Contents

Class WorldScheduling

Namespace
Shard.Gameplay.World
Assembly
Shard.Gameplay.World.dll

Collects and installs frozen scheduling metadata for one World Store.

public static class WorldScheduling
Inheritance
WorldScheduling
Inherited Members

Fields

PipelineName

public const string PipelineName = "Shard.World.Pipeline"

Field Value

string

Methods

AddDependency(World, string, string)

Adds an edge that makes phase run after dependency.

public static void AddDependency(World store, string phase, string dependency)

Parameters

store World
phase string
dependency string

AddSamePhaseDependency(World, System_, System_)

Adds a rare direct ordering edge between two systems in the same phase.

public static void AddSamePhaseDependency(World store, System_ system, System_ dependency)

Parameters

store World
system System_
dependency System_

Phase(World, string)

Resolves a registered phase only while Store definitions are being applied. The returned id must not escape that synchronous setup callback.

public static ulong Phase(World store, string name)

Parameters

store World
name string

Returns

ulong

RegisterPhase<TPhase>(World, string)

Registers one reusable setup-time phase node backed by a Flecs marker type.

public static void RegisterPhase<TPhase>(World store, string name)

Parameters

store World
name string

Type Parameters

TPhase