// Copyright 1998-2019 Epic Games, Inc. All Rights Reserved. #pragma once #include "CoreMinimal.h" #include "UObject/ObjectMacros.h" #include "AIGraphTypes.h" #include "EdGraph/EdGraphSchema.h" #include "AIGraphSchema.h" #include "EdGraphSchema_EnvironmentQuery.generated.h" class UEdGraph; UCLASS(MinimalAPI) class UEdGraphSchema_EnvironmentQuery : public UAIGraphSchema { GENERATED_UCLASS_BODY() //~ Begin EdGraphSchema Interface virtual void CreateDefaultNodesForGraph(UEdGraph& Graph) const override; virtual void GetGraphContextActions(FGraphContextMenuBuilder& ContextMenuBuilder) const override; virtual const FPinConnectionResponse CanCreateConnection(const UEdGraphPin* A, const UEdGraphPin* B) const override; virtual const FPinConnectionResponse CanMergeNodes(const UEdGraphNode* A, const UEdGraphNode* B) const override; virtual int32 GetNodeSelectionCount(const UEdGraph* Graph) const override; //~ End EdGraphSchema Interface //~ Begin UAIGraphSchema Interface virtual void GetSubNodeClasses(int32 SubNodeFlags, TArray& ClassData, UClass*& GraphNodeClass) const override; //~ End UAIGraphSchema Interface };