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
storeWorlddeleteAction<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
storeWorldexpireAction<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
storeWorldunloadAction<World, Entity>
Type Parameters
T