Navigation
API > API/Developer > API/Developer/FunctionalTesting
Base struct defining an AI Test Spawn Set that are used in AFunctionalAITestBase tests.
| Name | FAITestSpawnSetBase |
| Type | struct |
| Header File | /Engine/Source/Developer/FunctionalTesting/Classes/FunctionalAITest.h |
| Include Path | #include "FunctionalAITest.h" |
Syntax
USTRUCT (BlueprintType )
struct FAITestSpawnSetBase
Derived Classes
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FAITestSpawnSetBase() |
FunctionalAITest.h |
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual ~FAITestSpawnSetBase() |
FunctionalAITest.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bEnabled | uint32 | FunctionalAITest.h |
|
|
| FallbackSpawnLocation | TObjectPtr< AActor > | Location used for spawning if spawn info doesn't define one | FunctionalAITest.h |
|
| Name | FName | Give the set a name to help identify it if need be | FunctionalAITest.h |
|
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void ForEachSpawnInfo
(
TFunctionRef< void(const FAITestSpawnInfoBase&)> Predicate |
Pure virtual method to iterate through the spawn info container and execute Predicate on each in a const-correct way. | FunctionalAITest.h | |
virtual void ForEachSpawnInfo
(
TFunctionRef< void(FAITestSpawnInfoBase&)> Predicate |
Pure virtual method to iterate through the spawn info container and execute Predicate on each. | FunctionalAITest.h | |
virtual const FAITestSpawnInfoBase * GetSpawnInfo
(
const int32 SpawnInfoIndex |
Return the FAITestSpawnInfoBase at this index of the SpawnInfoContainer array. | FunctionalAITest.h | |
virtual FAITestSpawnInfoBase * GetSpawnInfo
(
const int32 SpawnInfoIndex |
Return the FAITestSpawnInfoBase at this index of the SpawnInfoContainer array. | FunctionalAITest.h | |
virtual bool IsValidSpawnInfoIndex
(
const int32 Index |
Return whether the index is valid in the SpawnInfoContainer array. | FunctionalAITest.h |