Table of Contents

Class WorldLifecycle

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

Registers definition-time feature hooks for the World-owned lifecycle path.

public static class WorldLifecycle
Inheritance
WorldLifecycle
Inherited Members

Methods

RegisterDelete<T>(World, Action<World, Entity>)

Registers feature work that runs before ordinary deletion.

public static void RegisterDelete<T>(World store, Action<World, Entity> delete)

Parameters

store World
delete Action<World, Entity>

Type Parameters

T

RegisterExpiry<T>(World, Action<World, Entity>)

Registers terminal feature work that runs before expiry requests deletion.

public static void RegisterExpiry<T>(World store, Action<World, Entity> expire)

Parameters

store World
expire Action<World, Entity>

Type Parameters

T

RegisterUnload<T>(World, Action<World, Entity>)

Registers feature work that runs before ordinary unload.

public static void RegisterUnload<T>(World store, Action<World, Entity> unload)

Parameters

store World
unload Action<World, Entity>

Type Parameters

T