2022-05-02 09:15:14 -04:00
|
|
|
|
// Copyright Epic Games, Inc. All Rights Reserved.
|
|
|
|
|
|
|
|
|
|
|
|
#include "GameplayStateTreeModule.h"
|
|
|
|
|
|
#include "Modules/ModuleManager.h"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
//----------------------------------------------------------------------//
|
|
|
|
|
|
// IGameplayStateTreeModule
|
|
|
|
|
|
//----------------------------------------------------------------------//
|
|
|
|
|
|
IGameplayStateTreeModule& IGameplayStateTreeModule::Get()
|
|
|
|
|
|
{
|
2022-06-01 17:17:10 -04:00
|
|
|
|
return FModuleManager::LoadModuleChecked<IGameplayStateTreeModule>("GameplayStateTreeModule");
|
2022-05-02 09:15:14 -04:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
bool IGameplayStateTreeModule::IsAvailable()
|
|
|
|
|
|
{
|
2022-06-01 17:17:10 -04:00
|
|
|
|
return FModuleManager::Get().IsModuleLoaded("GameplayStateTreeModule");
|
2022-05-02 09:15:14 -04:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
//----------------------------------------------------------------------//
|
2022-06-01 17:17:10 -04:00
|
|
|
|
// FGameplayStateTreeModule
|
2022-05-02 09:15:14 -04:00
|
|
|
|
//----------------------------------------------------------------------//
|
2022-06-01 17:17:10 -04:00
|
|
|
|
class FGameplayStateTreeModule : public IGameplayStateTreeModule
|
2022-05-02 09:15:14 -04:00
|
|
|
|
{
|
|
|
|
|
|
};
|
|
|
|
|
|
|
2022-06-01 17:17:10 -04:00
|
|
|
|
IMPLEMENT_MODULE(FGameplayStateTreeModule, GameplayStateTreeModule)
|