Files
UnrealEngine/Engine/Source/Developer/AITestSuite/Classes/MockAI_BT.h
Brandyn / Techy fcc1b09210 init
2026-04-04 15:40:51 -05:00

27 lines
598 B
C++

// Copyright Epic Games, Inc. All Rights Reserved.
#pragma once
#include "CoreMinimal.h"
#include "UObject/ObjectMacros.h"
#include "BehaviorTree/BehaviorTreeTypes.h"
#include "MockAI.h"
#include "MockAI_BT.generated.h"
class UBehaviorTree;
class UBehaviorTreeComponent;
UCLASS()
class UMockAI_BT : public UMockAI
{
GENERATED_UCLASS_BODY()
UPROPERTY()
TObjectPtr<UBehaviorTreeComponent> BTComp;
static TArray<int32> ExecutionLog;
TArray<int32> ExpectedResult;
bool IsRunning() const;
void RunBT(UBehaviorTree& BTAsset, EBTExecutionMode::Type RunType = EBTExecutionMode::SingleRun);
};