UDocumentation
UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
GameplayDebuggerCategory_BehaviorTree.h
Go to the documentation of this file.
1
// Copyright Epic Games, Inc. All Rights Reserved.
2
3
#pragma once
4
5
#include "
CoreMinimal.h
"
6
#if WITH_GAMEPLAY_DEBUGGER_MENU
7
8
#include "
GameplayDebuggerCategory.h
"
9
10
class
AActor
;
11
class
APlayerController
;
12
13
class
FGameplayDebuggerCategory_BehaviorTree
:
public
FGameplayDebuggerCategory
14
{
15
public
:
16
FGameplayDebuggerCategory_BehaviorTree
();
17
18
virtual
void
CollectData
(
APlayerController
* OwnerPC,
AActor
* DebugActor)
override
;
19
virtual
void
DrawData
(
APlayerController
* OwnerPC,
FGameplayDebuggerCanvasContext
&
CanvasContext
)
override
;
20
21
AIMODULE_API
static
TSharedRef<FGameplayDebuggerCategory>
MakeInstance();
22
23
protected
:
24
struct
FRepData
25
{
26
FString
CompName
;
27
FString
TreeDesc
;
28
FString
BlackboardDesc
;
29
30
void
Serialize
(
FArchive
& Ar);
31
};
32
FRepData
DataPack
;
33
};
34
35
#endif
// WITH_GAMEPLAY_DEBUGGER_MENU
CoreMinimal.h
StaticCastSharedRef
UE_FORCEINLINE_HINT TSharedRef< CastToType, Mode > StaticCastSharedRef(TSharedRef< CastFromType, Mode > const &InSharedRef)
Definition
SharedPointer.h:127
GameplayDebuggerCategory.h
EStructSerializerNullValuePolicies::Serialize
@ Serialize
AActor
Definition
Actor.h:257
APlayerController
Definition
PlayerController.h:261
FArchive
Definition
Archive.h:1208
FGameplayDebuggerCanvasContext
Definition
GameplayDebuggerTypes.h:30
FGameplayDebuggerCategory
Definition
GameplayDebuggerCategory.h:49
FGameplayDebuggerCategory::CollectData
virtual GAMEPLAYDEBUGGER_API void CollectData(APlayerController *OwnerPC, AActor *DebugActor)
Definition
GameplayDebuggerCategory.cpp:29
FGameplayDebuggerCategory::DrawData
virtual GAMEPLAYDEBUGGER_API void DrawData(APlayerController *OwnerPC, FGameplayDebuggerCanvasContext &CanvasContext)
Definition
GameplayDebuggerCategory.cpp:34
TSharedRef
Definition
SharedPointer.h:153
Engine
Source
Runtime
AIModule
Public
GameplayDebugger
GameplayDebuggerCategory_BehaviorTree.h
Generated by
1.9.8