UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
IGameplayTaskOwnerInterface Class Reference

#include <GameplayTaskOwnerInterface.h>

+ Inheritance diagram for IGameplayTaskOwnerInterface:

Public Member Functions

virtual AActorGetGameplayTaskAvatar (const UGameplayTask *Task) const
 
virtual uint8 GetGameplayTaskDefaultPriority () const
 
virtual void OnGameplayTaskInitialized (UGameplayTask &Task)
 
virtual void OnGameplayTaskActivated (UGameplayTask &Task)
 
virtual void OnGameplayTaskDeactivated (UGameplayTask &Task)
 

Public Attributes

virtual UGameplayTasksComponent * GetGameplayTasksComponent (const UGameplayTask &Task) const PURE_VIRTUAL(IGameplayTaskOwnerInterface
 
virtual AActorGetGameplayTaskOwner (const UGameplayTask *Task) const PURE_VIRTUAL(IGameplayTaskOwnerInterface
 

Member Function Documentation

◆ GetGameplayTaskAvatar()

virtual AActor * IGameplayTaskOwnerInterface::GetGameplayTaskAvatar ( const UGameplayTask Task) const
inlinevirtual

Get "body" of task's owner / default, having location in world (e.g. Owner = AIController, Avatar = Pawn)

Reimplemented in AAIController, and UGameplayTask.

◆ GetGameplayTaskDefaultPriority()

virtual uint8 IGameplayTaskOwnerInterface::GetGameplayTaskDefaultPriority ( ) const
inlinevirtual

Get default priority for running a task

Reimplemented in AAIController, and UGameplayTask.

◆ OnGameplayTaskActivated()

virtual void IGameplayTaskOwnerInterface::OnGameplayTaskActivated ( UGameplayTask Task)
inlinevirtual

Notify called after GameplayTask changes state to Active (initial activation or resuming)

Reimplemented in AAIController, and UGameplayTask_TimeLimitedExecution.

◆ OnGameplayTaskDeactivated()

virtual void IGameplayTaskOwnerInterface::OnGameplayTaskDeactivated ( UGameplayTask Task)
inlinevirtual

Notify called after GameplayTask changes state from Active (finishing or pausing)

Reimplemented in AAIController, UBTTaskNode, UGameplayTask, and UGameplayTask_TimeLimitedExecution.

◆ OnGameplayTaskInitialized()

virtual void IGameplayTaskOwnerInterface::OnGameplayTaskInitialized ( UGameplayTask Task)
inlinevirtual

Notify called after GameplayTask finishes initialization (not active yet)

Reimplemented in AAIController, and UGameplayTask.

Member Data Documentation

◆ GetGameplayTaskOwner

virtual AActor* IGameplayTaskOwnerInterface::GetGameplayTaskOwner(const UGameplayTask *Task) const PURE_VIRTUAL(IGameplayTaskOwnerInterface

Get owner of a task or default one when task is null

◆ GetGameplayTasksComponent

virtual UGameplayTasksComponent* IGameplayTaskOwnerInterface::GetGameplayTasksComponent(const UGameplayTask &Task) const PURE_VIRTUAL(IGameplayTaskOwnerInterface

Finds tasks component for given GameplayTask, Task.GetGameplayTasksComponent() may not be initialized at this point!


The documentation for this class was generated from the following file: