You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
47 lines
1.4 KiB
C++
47 lines
1.4 KiB
C++
// Copyright 1998-2019 Epic Games, Inc. All Rights Reserved.
|
|
#pragma once
|
|
|
|
#include "CoreMinimal.h"
|
|
#include "UObject/ObjectMacros.h"
|
|
#include "AIGraph.h"
|
|
#include "EnvironmentQuery/EnvQueryManager.h"
|
|
#include "EnvironmentQueryGraph.generated.h"
|
|
|
|
class UEnvironmentQueryGraphNode;
|
|
class UEnvQueryOption;
|
|
class UEnvQueryTest;
|
|
|
|
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);
|
|
|
|
void ResetProfilerStats();
|
|
#if USE_EQS_DEBUGGER
|
|
void StoreProfilerStats(const FEQSDebugger::FStatsInfo& Stats);
|
|
#endif
|
|
|
|
protected:
|
|
|
|
void UpdateVersion_NestedNodes();
|
|
void UpdateVersion_FixupOuters();
|
|
void UpdateVersion_CollectClassData();
|
|
|
|
virtual void CollectAllNodeInstances(TSet<UObject*>& NodeInstances) override;
|
|
virtual void OnNodeInstanceRemoved(UObject* NodeInstance) override;
|
|
virtual void OnNodesPasted(const FString& ImportStr) override;
|
|
|
|
void SpawnMissingSubNodes(UEnvQueryOption* Option, TSet<UEnvQueryTest*> ExistingTests, UEnvironmentQueryGraphNode* OptionNode);
|
|
};
|