Files
UnrealEngineUWP/Engine/Source/Editor/EnvironmentQueryEditor/Classes/EnvironmentQueryGraph.h
Matthew Griffin bb70b349ce Merging CL 2804086 from //UE4/Release-4.11 to Dev-Main (//UE4/Dev-Main) to isolate copyright update
#lockdown Nick.Penwarden

[CL 2819020 by Matthew Griffin in Main branch]
2016-01-07 08:17:16 -05:00

37 lines
1.0 KiB
C++

// Copyright 1998-2016 Epic Games, Inc. All Rights Reserved.
#pragma once
#include "AIGraph.h"
#include "EnvironmentQueryGraph.generated.h"
class UEnvQueryOption;
class UEnvQueryTest;
class UEnvironmentQueryGraphNode;
UCLASS()
class UEnvironmentQueryGraph : public UAIGraph
{
GENERATED_UCLASS_BODY()
virtual void Initialize() override;
virtual void OnLoaded() override;
virtual void UpdateVersion() override;
virtual void MarkVersion() override;
virtual void UpdateAsset(int32 UpdateFlags = 0) override;
void UpdateDeprecatedGeneratorClasses();
void SpawnMissingNodes();
void CalculateAllWeights();
void CreateEnvQueryFromGraph(class UEnvironmentQueryGraphNode* RootEdNode);
protected:
void UpdateVersion_NestedNodes();
void UpdateVersion_FixupOuters();
void UpdateVersion_CollectClassData();
virtual void CollectAllNodeInstances(TSet<UObject*>& NodeInstances) override;
void SpawnMissingSubNodes(UEnvQueryOption* Option, TSet<UEnvQueryTest*> ExistingTests, UEnvironmentQueryGraphNode* OptionNode);
};