class

FEngineModularRegistry

The engine-wide seam a plugin's InitializeModule hook writes into so its systems and asset serializers join the running engine without any core edit. Scene consults the registered systems alongside its built-in table; every host applies the registered serializers after its built-in set. Reflected components need nothing here — they self-register through the generated MHT statics the moment the plugin DLL loads.

Module
Game
Header
#include "Game/EngineModularRegistry.h"
Namespace
Mowo

Type aliases

AliasDescription
using SerializerFactory = Scope<AssetSerializer> (*)()Plain function pointer, NOT std::function: the factory crosses the plugin DLL boundary and lives in a vector the registry reallocates — relocating a std::function built by another image crashed the packaged game (each image owns its allocator; same rule as the FModularSceneSystem hooks above).

Constructors

SignatureNameDescription
FEngineModularRegistry(const FEngineModularRegistry&) = deleteFEngineModularRegistry

Public functions

ReturnsNameDescription
FEngineModularRegistry&Get
FEngineModularRegistry&operator=
voidRegisterSceneSystemForwarders into the ECS-level FSceneSystemRegistry (E3.1 NO1) — kept here so plugins keep one registry to talk to.
const std::vector<FModularSceneSystem>&GetSceneSystems
uint32_tSceneSystemRevisionBumped whenever the system set changes so Scene can rebuild its cached tick order instead of missing a plugin that loaded after the first tick.
voidRegisterStateFragment
const std::vector<FStateFragment>&GetStateFragments
voidRegisterCharacterExtension
const std::vector<FCharacterExtension>&GetCharacterExtensions
boolIsCharacterInputCapturedTrue while ANY extension's mode owns the shared mouse buttons — used by the template's built-in binds and by other extensions' binds alike, so modes stand down for each other symmetrically.
voidRegisterAssetSerializer
size_tSerializerFactoryCount
size_tRemoveAllInModuleDrops every fragment, character extension and serializer factory whose function pointers live inside the given module image — after the DLL frees they are calls into unmapped pages (SaveGame walks fragments, SetupPlayerInput walks extensions, every host replays the factories).
voidApplyRegisteredSerializersCalled by each host right after it registers its built-in serializers.

Function details

FEngineModularRegistry

C++
FEngineModularRegistry(const FEngineModularRegistry&) = delete

Get

C++
static FEngineModularRegistry& Get()

operator=

C++
FEngineModularRegistry& operator=(const FEngineModularRegistry&) = delete

RegisterSceneSystem

C++
void RegisterSceneSystem(const FModularSceneSystem& system)

Forwarders into the ECS-level FSceneSystemRegistry (E3.1 NO1) — kept here so plugins keep one registry to talk to.

GetSceneSystems

C++
const std::vector<FModularSceneSystem>& GetSceneSystems() const

SceneSystemRevision

C++
uint32_t SceneSystemRevision() const

Bumped whenever the system set changes so Scene can rebuild its cached tick order instead of missing a plugin that loaded after the first tick.

RegisterStateFragment

C++
void RegisterStateFragment(const FStateFragment& fragment)

GetStateFragments

C++
const std::vector<FStateFragment>& GetStateFragments() const

RegisterCharacterExtension

C++
void RegisterCharacterExtension(const FCharacterExtension& extension)

GetCharacterExtensions

C++
const std::vector<FCharacterExtension>& GetCharacterExtensions() const

IsCharacterInputCaptured

C++
bool IsCharacterInputCaptured(ACharacter& character) const

True while ANY extension's mode owns the shared mouse buttons — used by the template's built-in binds and by other extensions' binds alike, so modes stand down for each other symmetrically.

RegisterAssetSerializer

C++
void RegisterAssetSerializer(SerializerFactory factory)

SerializerFactoryCount

C++
size_t SerializerFactoryCount() const

RemoveAllInModule

C++
size_t RemoveAllInModule(void* moduleHandle)

Drops every fragment, character extension and serializer factory whose function pointers live inside the given module image — after the DLL frees they are calls into unmapped pages (SaveGame walks fragments, SetupPlayerInput walks extensions, every host replays the factories). Scene systems are swept by FSceneSystemRegistry itself. Driven by the FModuleManager unload broadcast. Returns the number of entries dropped.

ApplyRegisteredSerializers

C++
template<typename TManager> void ApplyRegisteredSerializers(TManager& manager) const

Called by each host right after it registers its built-in serializers. Templated so it works with either concrete manager (Editor/Runtime) without a base-class virtual.

Generated from Game/EngineModularRegistry.h via game.json · Nov 5, 2026Version 1.0.0