More corrections to module src

This commit is contained in:
ed committed 2024-04-08 04:57:55 -04:00
1 parent 31c312610f
commit 290bcc511b
11 files changed
+3426 -4

No files matched your search

File diff suppressed because it is too large. Load diff
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.

Before

Width:  |  Height:  |  Size: 59 KiB

After

Width:  |  Height:  |  Size: 59 KiB

@@ -0,0 +1,7 @@
[CrashReportClient]
bHideLogFilesOption=false
bIsAllowedToCloseWithoutSending=true
CrashConfigPurgeDays=2
Stall.RecordDump=false
Ensure.RecordDump=true
+11 -1
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()
{
}
+11 -1
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;
};
@@ -1,3 +1,13 @@
#include "SurgoEditorModule.h"
IMPLEMENT_MODULE(FSurgoEditorModule, SurgoEditor);
IMPLEMENT_GAME_MODULE(FSurgoEditorModule, SurgoEditor);
void FSurgoEditorModule::StartupModule()
{
}
void FSurgoEditorModule::ShutdownModule()
{
}
@@ -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;
};