Download LyraStarterGame/Source/LyraGame/Interaction/IInteractionInstigator.h from Alexhas2/unitysamples: direct link, hf CLI and curl.
- Browser
- Download file 1.07 kB
-
https://huggingface.co/datasets/Alexhas2/unitysamples/resolve/main/LyraStarterGame/Source/LyraGame/Interaction/IInteractionInstigator.h
- Command line
-
hf download hf://datasets/Alexhas2/unitysamples/LyraStarterGame/Source/LyraGame/Interaction/IInteractionInstigator.h
-
curl -L -o IInteractionInstigator.h https://huggingface.co/datasets/Alexhas2/unitysamples/resolve/main/LyraStarterGame/Source/LyraGame/Interaction/IInteractionInstigator.h
1.07 kB
| // Copyright Epic Games, Inc. All Rights Reserved. | |
| struct FInteractionQuery; | |
| /** */ | |
| UINTERFACE(MinimalAPI, meta = (CannotImplementInterfaceInBlueprint)) | |
| class UInteractionInstigator : public UInterface | |
| { | |
| GENERATED_BODY() | |
| }; | |
| /** | |
| * Implementing this interface allows you to add an arbitrator to the interaction process. For example, | |
| * some games present the user with a menu to pick which interaction they want to perform. This will allow you | |
| * to take the multiple matches (Assuming your ULyraGameplayAbility_Interact subclass generates more than one option). | |
| */ | |
| class IInteractionInstigator | |
| { | |
| GENERATED_BODY() | |
| public: | |
| /** Will be called if there are more than one InteractOptions that need to be decided on. */ | |
| virtual FInteractionOption ChooseBestInteractionOption(const FInteractionQuery& InteractQuery, const TArray<FInteractionOption>& InteractOptions) = 0; | |
| }; | |