FSceneSystemRegistry
- Module
- ECS
- Header
#include "ECS/SceneSystemRegistry.h"- Namespace
Mowo
Constructors
| Signature | Name | Description |
|---|---|---|
FSceneSystemRegistry(const FSceneSystemRegistry&) = delete | FSceneSystemRegistry |
Public functions
| Returns | Name | Description |
|---|---|---|
FSceneSystemRegistry& | Get | |
FSceneSystemRegistry& | operator= | |
void | RegisterSceneSystem | |
const std::vector<FModularSceneSystem>& | GetSceneSystems | |
size_t | RemoveAllInModule | Drops every system whose hooks live inside the given module image — the entries hold plain function pointers, so after the DLL frees they are calls into unmapped pages. |
uint32_t | SceneSystemRevision | Bumped whenever the system set changes so Scene can rebuild its cached tick order instead of missing a module that loaded after the first tick. |
Function details
FSceneSystemRegistry
FSceneSystemRegistry(const FSceneSystemRegistry&) = deleteGet
static FSceneSystemRegistry& Get()operator=
FSceneSystemRegistry& operator=(const FSceneSystemRegistry&) = deleteRegisterSceneSystem
void RegisterSceneSystem(const FModularSceneSystem& system)GetSceneSystems
const std::vector<FModularSceneSystem>& GetSceneSystems() constRemoveAllInModule
size_t RemoveAllInModule(void* moduleHandle, World* world = nullptr)Drops every system whose hooks live inside the given module image — the entries hold plain function pointers, so after the DLL frees they are calls into unmapped pages. This also unblocks reload: the by-name dedupe in RegisterSceneSystem would otherwise keep the STALE entry and refuse the fresh module's registration. When world is non-null the condemned systems' Remove hooks run against it first, so instances the plugin allocated don't outlive the code their destructors live in. Driven by the FModuleManager unload broadcast (with no world); the hot-reload orchestrator calls it directly with the live world. Returns the number of systems dropped.
SceneSystemRevision
uint32_t SceneSystemRevision() constBumped whenever the system set changes so Scene can rebuild its cached tick order instead of missing a module that loaded after the first tick.