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

Select Skin
Light
Dark

Welcome to the new Unreal Engine 4 Documentation site!

We're working on lots of new features including a feedback system so you can tell us how we are doing. It's not quite ready for use in the wild yet, so head over to the Documentation Feedback forum to tell us about this page or call out any issues you are encountering in the meantime.

We'll be sure to let you know when the new system is up and running.

Post Feedback