GASATHON/Project/Source/Gasa/GasaModule.h

21 lines
418 B
C
Raw Permalink Normal View History

2024-04-12 09:42:41 -07:00
#pragma once
#include "Modules/ModuleInterface.h"
#include "Modules/ModuleManager.h"
2024-04-12 09:42:41 -07:00
class GASA_API FGasaModule : public IModuleInterface
{
public:
static bool IsAvailable() {
return FModuleManager::Get().IsModuleLoaded("Gasa");
}
static FGasaModule& Get() {
return FModuleManager::LoadModuleChecked<FGasaModule>("Gasa");
}
protected:
void StartupModule() override;
void ShutdownModule() override;
};