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
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
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
storeWorldsystemSystem_dependencySystem_
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
storeWorldnamestring
Returns
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
storeWorldnamestring
Type Parameters
TPhase