More corrections to module src

This commit is contained in:
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.
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" #include "SurgoModule.h"
IMPLEMENT_MODULE(FSurgoModule, Surgo); IMPLEMENT_PRIMARY_GAME_MODULE(FSurgoModule, Surgo, Surgo);
void FSurgoModule::StartupModule()
{
}
void FSurgoModule::ShutdownModule()
{
}
+10
View File
@@ -5,5 +5,15 @@
class SURGO_API FSurgoModule : public IModuleInterface class SURGO_API FSurgoModule : public IModuleInterface
{ {
public: 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" #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 class SURGOEDITOR_API FSurgoEditorModule : public IModuleInterface
{ {
public: public:
static bool IsAvailable() {
return FModuleManager::Get().IsModuleLoaded("SurgoEditor");
}
static FSurgoEditorModule& Get() {
return FModuleManager::LoadModuleChecked<FSurgoEditorModule>("SurgoEditor");
}
protected:
void StartupModule() override;
void ShutdownModule() override;
}; };