Navigation
Unreal Engine C++ API Reference > Developer > AITestSuite
Inheritance Hierarchy
References
Module | AITestSuite |
Header | /Engine/Source/Developer/AITestSuite/Classes/MockGameplayTasks.h |
Include | #include "MockGameplayTasks.h" |
Syntax
class UMockTask_Log : public [UGameplayTask](API\Runtime\GameplayTasks\UGameplayTask)
Variables
Type | Name | Description |
---|---|---|
bool | bShoudEndAsPartOfActivation | |
FTestLogger< in... | Logger |
Constructors
Type | Name | Description |
---|---|---|
UMockTask_Log ( const FObjectInitializer& ObjectIn... ) |
Functions
Type | Name | Description |
---|---|---|
UMockTask_Lo... | CreateTask ( IGameplayTaskOwnerInterface& TaskO..., FTestLogger< int32 >& InLogger, const FGameplayResourceSet& Resour..., uint8 Priority ) | |
void | EnableTick () | Testing only hack-functions |
void | SetInstaEnd ( bool bNewValue ) |
Overridden from UGameplayTask
Type | Name | Description |
---|---|---|
void | Activate () | Called to trigger the actual task once the delegates have been set up Note that the default implementation does nothing and you don't have to call it |
void | ExternalCancel () | Called when the task is asked to cancel from an outside node. |
void | ExternalConfirm ( bool bEndTask ) | Called when the task is asked to confirm from an outside node. |
void | OnDestroy ( bool bInOwnerFinished ) | End and CleanUp the task - may be called by the task itself or by the task owner if the owner is ending. |
void | TickTask ( float DeltaTime ) | Tick function for this task, if bTickingTask == true |