UMockTask_Log

Windows
MacOS
Linux

Inheritance Hierarchy

References

Module

AITestSuite

Header

/Engine/Source/Developer/AITestSuite/Classes/MockGameplayTasks.h

Include

#include "MockGameplayTasks.h"

Syntax

class UMockTask_Log : public UGameplayTask

Variables

Name Description

Protected variable

bool

 

bShoudEndAsPartOfActivation

Protected variable

FTestLogger< in...

 

Logger

Constructors

Name Description

Public function

UMockTask_Log

(
    const FObjectInitializer& ObjectIn...
)

Functions

Name Description

Public function Static

UMockTask_Lo...

 

CreateTask

(
    IGameplayTaskOwnerInterface& TaskO...,
    FTestLogger< int32 >& InLogger,
    const FGameplayResourceSet& Resour...,
    uint8 Priority
)

Public function

void

 

EnableTick()

Testing only hack-functions

Public function

void

 

SetInstaEnd

(
    bool bNewValue
)

Overridden from UGameplayTask

Name Description

Protected function Virtual

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

Public function Virtual

void

 

ExternalCancel()

Called when the task is asked to cancel from an outside node.

Public function Virtual

void

 

ExternalConfirm

(
    bool bEndTask
)

Called when the task is asked to confirm from an outside node.

Protected function Virtual

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.

Public function Virtual

void

 

TickTask

(
    float DeltaTime
)

Tick function for this task, if bTickingTask == true

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss