Files
UnrealEngineUWP/Engine/Source/Runtime/AIModule/Private/EnvironmentQuery/EnvQueryNode.cpp
Lukasz Furman dcd7345250 unified shared parts of AI editors (nested nodes, copy/paste/drag operations)
[CL 2456137 by Lukasz Furman in Main branch]
2015-02-23 10:30:16 -05:00

33 lines
797 B
C++

// Copyright 1998-2015 Epic Games, Inc. All Rights Reserved.
#include "AIModulePrivate.h"
#include "EnvironmentQuery/EnvQueryNode.h"
#include "EnvironmentQuery/EnvQueryManager.h"
UEnvQueryNode::UEnvQueryNode(const FObjectInitializer& ObjectInitializer) : Super(ObjectInitializer)
{
}
void UEnvQueryNode::UpdateNodeVersion()
{
VerNum = 0;
}
FText UEnvQueryNode::GetDescriptionTitle() const
{
return UEnvQueryTypes::GetShortTypeName(this);
}
FText UEnvQueryNode::GetDescriptionDetails() const
{
return FText::GetEmpty();
}
#if WITH_EDITOR && USE_EQS_DEBUGGER
void UEnvQueryNode::PostEditChangeProperty(FPropertyChangedEvent& PropertyChangedEvent)
{
Super::PostEditChangeProperty(PropertyChangedEvent);
UEnvQueryManager::NotifyAssetUpdate(NULL);
}
#endif //WITH_EDITOR && USE_EQS_DEBUGGER