You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
- moved StateTreeBrainComponent (from StateTreeModule) and renamed StateTreeComponent - added FStateTreeTaskCommonBase (similar to FStateTreeTaskCommonCondition) #rnx #rb mikko.mononen #preflight 626fd50d645c64f3a236325a [CL 20007596 by Yoan StAmant in ue5-main branch]
29 lines
907 B
C++
29 lines
907 B
C++
// Copyright Epic Games, Inc. All Rights Reserved.
|
|
|
|
#include "GameplayStateTreeModule.h"
|
|
#include "Modules/ModuleManager.h"
|
|
|
|
|
|
//----------------------------------------------------------------------//
|
|
// IGameplayStateTreeModule
|
|
//----------------------------------------------------------------------//
|
|
IGameplayStateTreeModule& IGameplayStateTreeModule::Get()
|
|
{
|
|
return FModuleManager::LoadModuleChecked<IGameplayStateTreeModule>("StateTreeGameplayModule");
|
|
}
|
|
|
|
bool IGameplayStateTreeModule::IsAvailable()
|
|
{
|
|
return FModuleManager::Get().IsModuleLoaded("StateTreeGameplayModule");
|
|
}
|
|
|
|
|
|
//----------------------------------------------------------------------//
|
|
// FStateTreeGameplayModule
|
|
//----------------------------------------------------------------------//
|
|
class FStateTreeGameplayModule : public IGameplayStateTreeModule
|
|
{
|
|
};
|
|
|
|
IMPLEMENT_MODULE(FStateTreeGameplayModule, StateTreeGameplayModule)
|