More corrections to module src
This commit is contained in:
1 parent
31c312610f
commit
290bcc511b
11 files changed
+3426
-4
No files matched your search
@@ -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;
|
||||
};
|
||||
Reference in new issue
Block a user