29 lines
730 B
C
29 lines
730 B
C
// Copyright Epic Games, Inc. All Rights Reserved.
|
|
|
|
#pragma once
|
|
|
|
#include "CoreMinimal.h"
|
|
#include "Abilities/GameplayAbility.h"
|
|
#include "InteractionQuery.generated.h"
|
|
|
|
|
|
/** */
|
|
USTRUCT(BlueprintType)
|
|
struct FInteractionQuery
|
|
{
|
|
GENERATED_BODY()
|
|
|
|
public:
|
|
/** The requesting pawn. */
|
|
UPROPERTY(BlueprintReadWrite)
|
|
TWeakObjectPtr<AActor> RequestingAvatar;
|
|
|
|
/** Allow us to specify a controller - does not need to match the owner of the requesting avatar. */
|
|
UPROPERTY(BlueprintReadWrite)
|
|
TWeakObjectPtr<AController> RequestingController;
|
|
|
|
/** A generic UObject to shove in extra data required for the interaction */
|
|
UPROPERTY(BlueprintReadWrite)
|
|
TWeakObjectPtr<UObject> OptionalObjectData;
|
|
};
|