More corrections to module src

This commit is contained in:
Edward R. Gonzalez 2024-04-08 04:57:55 -04:00
parent 31c312610f
commit 290bcc511b
11 changed files with 3426 additions and 4 deletions

File diff suppressed because it is too large Load Diff

Binary file not shown.

Before

Width:  |  Height:  |  Size: 59 KiB

After

Width:  |  Height:  |  Size: 59 KiB

View File

@ -0,0 +1,7 @@
[CrashReportClient]
bHideLogFilesOption=false
bIsAllowedToCloseWithoutSending=true
CrashConfigPurgeDays=2
Stall.RecordDump=false
Ensure.RecordDump=true

View File

@ -1,3 +1,13 @@
#include "SurgoModule.h"
IMPLEMENT_MODULE(FSurgoModule, Surgo);
IMPLEMENT_PRIMARY_GAME_MODULE(FSurgoModule, Surgo, Surgo);
void FSurgoModule::StartupModule()
{
}
void FSurgoModule::ShutdownModule()
{
}

View File

@ -5,5 +5,15 @@
class SURGO_API FSurgoModule : public IModuleInterface
{
public:
static bool IsAvailable() {
return FModuleManager::Get().IsModuleLoaded("Surgo");
}
static FSurgoModule& Get() {
return FModuleManager::LoadModuleChecked<FSurgoModule>("Surgo");
}
protected:
void StartupModule() override;
void ShutdownModule() override;
};

View File

@ -1,3 +1,13 @@
#include "SurgoEditorModule.h"
IMPLEMENT_MODULE(FSurgoEditorModule, SurgoEditor);
IMPLEMENT_GAME_MODULE(FSurgoEditorModule, SurgoEditor);
void FSurgoEditorModule::StartupModule()
{
}
void FSurgoEditorModule::ShutdownModule()
{
}

View File

@ -5,5 +5,15 @@
class SURGOEDITOR_API FSurgoEditorModule : public IModuleInterface
{
public:
static bool IsAvailable() {
return FModuleManager::Get().IsModuleLoaded("SurgoEditor");
}
static FSurgoEditorModule& Get() {
return FModuleManager::LoadModuleChecked<FSurgoEditorModule>("SurgoEditor");
}
protected:
void StartupModule() override;
void ShutdownModule() override;
};