#include "TheDescent.h" #include "Modules/ModuleManager.h" #include "Debug/DescentStateRegistry.h" DEFINE_LOG_CATEGORY(LogDescent); class FTheDescentModule : public FDefaultGameModuleImpl { public: virtual void StartupModule() override { // The built-in snapshot sections (meta, camera, pawn, world) are registered here rather than from // static initialisers so their order and lifetime are the module's, not the linker's. FDescentStateRegistry::RegisterBuiltInProviders(); } virtual void ShutdownModule() override { FDescentStateRegistry::UnregisterBuiltInProviders(); } }; IMPLEMENT_PRIMARY_GAME_MODULE(FTheDescentModule, TheDescent, "TheDescent");