Navigation
API > API/Plugins > API/Plugins/InteractableInterface
Data about a specific interaction that is happening.
It is encouraged that you make structs that inherit from this one to add custom game logic and conditions you may need for any given interaction. For example, you may have a target which is only able to be used if the player has a specific item equipped, or some other conditional state like that.
| Name | FInteractionContextData |
| Type | struct |
| Header File | /Engine/Plugins/Experimental/InteractionInterface/Source/InteractableInterface/Public/InteractionTypes.h |
| Include Path | #include "InteractionTypes.h" |
Syntax
USTRUCT (BlueprintType )
struct FInteractionContextData
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| Instigator | TScriptInterface< IInteractableInstigator > | The interaction instigator who is doing the querying! | InteractionTypes.h |
|
| InteractionTags | FGameplayTagContainer | Some tags that are unique to this interaction and can be used to provide some context | InteractionTypes.h |
|