You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
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)
|