31 lines
799 B
C++
31 lines
799 B
C++
// Copyright Epic Games, Inc. All Rights Reserved.
|
|
|
|
#pragma once
|
|
|
|
#include "ConversationTaskNode.h"
|
|
|
|
#include "GameplayTagContainer.h"
|
|
#include "ConversationLinkNode.generated.h"
|
|
|
|
#define UE_API COMMONCONVERSATIONRUNTIME_API
|
|
|
|
UCLASS(MinimalAPI)
|
|
class UConversationLinkNode : public UConversationTaskNode
|
|
{
|
|
GENERATED_BODY()
|
|
|
|
public:
|
|
UE_API UConversationLinkNode();
|
|
|
|
FGameplayTag GetRemoteEntryTag() const { return RemoteEntryTag; }
|
|
|
|
protected:
|
|
UE_API virtual FConversationTaskResult ExecuteTaskNode_Implementation(const FConversationContext& Context) const override;
|
|
UE_API virtual void GatherChoices(FConversationBranchPointBuilder& BranchBuilder, const FConversationContext& Context) const override;
|
|
|
|
UPROPERTY(EditAnywhere, Category = "Link")
|
|
FGameplayTag RemoteEntryTag;
|
|
};
|
|
|
|
#undef UE_API
|