25 lines
610 B
C++
25 lines
610 B
C++
// Copyright Epic Games, Inc. All Rights Reserved.
|
|
|
|
#include "StateTreeTaskBase.h"
|
|
|
|
#include UE_INLINE_GENERATED_CPP_BY_NAME(StateTreeTaskBase)
|
|
|
|
|
|
#if WITH_GAMEPLAY_DEBUGGER
|
|
FString FStateTreeTaskBase::GetDebugInfo(const FStateTreeReadOnlyExecutionContext& Context) const
|
|
{
|
|
TStringBuilder<256> Builder;
|
|
Builder << TEXT('[');
|
|
Builder << Name;
|
|
Builder << TEXT("]\n");
|
|
return Builder.ToString();
|
|
}
|
|
|
|
//Deprecated
|
|
void FStateTreeTaskBase::AppendDebugInfoString(FString& DebugString, const FStateTreeExecutionContext& Context) const
|
|
{
|
|
DebugString += FString::Printf(TEXT("[%s]\n"), *Name.ToString());
|
|
}
|
|
#endif
|
|
|