You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
- base class for StateTree tasks (GameplayInteractionStateTreeTask) - GameplayInteractions StateTree schema - supports StateTree common Tasks, Evaluators and Conditions + GameplayInteraction Tasks - requires two named external data items (Interactable actor and SmartObject claimed handle) - GameplayInteraction specific SmartObjectBehaviorDefinition to execute a StateTree - First pass of ContextualAnimStateTreeTask to play a scene from a ContextualAnimation scene asset #rnx #rb mikko.mononen #preflight 627510442e58cb727d38e384 [CL 20074106 by Yoan StAmant in ue5-main branch]
29 lines
946 B
C++
29 lines
946 B
C++
// Copyright Epic Games, Inc. All Rights Reserved.
|
|
|
|
#include "GameplayInteractionsModule.h"
|
|
#include "Modules/ModuleManager.h"
|
|
|
|
|
|
//----------------------------------------------------------------------//
|
|
// IGameplayInteractionsModule
|
|
//----------------------------------------------------------------------//
|
|
IGameplayInteractionsModule& IGameplayInteractionsModule::Get()
|
|
{
|
|
return FModuleManager::LoadModuleChecked<IGameplayInteractionsModule>("GameplayInteractionsModule");
|
|
}
|
|
|
|
bool IGameplayInteractionsModule::IsAvailable()
|
|
{
|
|
return FModuleManager::Get().IsModuleLoaded("GameplayInteractionsModule");
|
|
}
|
|
|
|
|
|
//----------------------------------------------------------------------//
|
|
// FGameplayInteractionsModule
|
|
//----------------------------------------------------------------------//
|
|
class FGameplayInteractionsModule : public IGameplayInteractionsModule
|
|
{
|
|
};
|
|
|
|
IMPLEMENT_MODULE(FGameplayInteractionsModule, GameplayInteractionsModule)
|