Source setup

This commit is contained in:
2024-04-12 12:42:41 -04:00
parent 251722a086
commit 07783ca4bf
13 changed files with 179 additions and 0 deletions

View File

@ -0,0 +1,19 @@
using ModuleRules = UnrealBuildTool.ModuleRules;
using ReadOnlyTargetRules = UnrealBuildTool.ReadOnlyTargetRules;
public class GasaEditor : ModuleRules
{
public GasaEditor(ReadOnlyTargetRules Target) : base(Target)
{
#region Engine
PrivateIncludePathModuleNames.AddRange(new string[] {
"Core",
});
PrivateDependencyModuleNames.AddRange(new string[] {
"Core",
});
#endregion Engine
PublicIncludePathModuleNames.Add("Gasa");
}
}

View File

@ -0,0 +1,14 @@
#include "GasaEditorModule.h"
IMPLEMENT_PRIMARY_GAME_MODULE(FGasaEditorModule, GasaEditor, GasaEditor);
void FGasaEditorModule::StartupModule()
{
}
void FGasaEditorModule::ShutdownModule()
{
}

View File

@ -0,0 +1,19 @@
#pragma once
#include "Modules/ModuleInterface.h"
class GASAEDITOR_API FGasaEditorModule : public IModuleInterface
{
public:
static bool IsAvailable() {
return FModuleManager::Get().IsModuleLoaded("GasaEditor");
}
static FGasaEditorModule& Get() {
return FModuleManager::LoadModuleChecked<FGasaEditorModule>("GasaEditor");
}
protected:
void StartupModule() override;
void ShutdownModule() override;
};