Files
UnrealEngineUWP/Engine/Plugins/Runtime/GameplayInteractions/Source/GameplayInteractionsModule/Private/GameplayInteractionsModule.cpp
Yoan StAmant 726e6251f3 GameplayInteractions plugin
- 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]
2022-05-06 08:23:48 -04:00

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)