![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include <GameplayTaskOwnerInterface.h>
Inheritance diagram for IGameplayTaskOwnerInterface:Public Member Functions | |
| virtual AActor * | GetGameplayTaskAvatar (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 AActor * | GetGameplayTaskOwner (const UGameplayTask *Task) const PURE_VIRTUAL(IGameplayTaskOwnerInterface |
|
inlinevirtual |
Get "body" of task's owner / default, having location in world (e.g. Owner = AIController, Avatar = Pawn)
Reimplemented in AAIController, and UGameplayTask.
Get default priority for running a task
Reimplemented in AAIController, and UGameplayTask.
|
inlinevirtual |
Notify called after GameplayTask changes state to Active (initial activation or resuming)
Reimplemented in AAIController, and UGameplayTask_TimeLimitedExecution.
|
inlinevirtual |
Notify called after GameplayTask changes state from Active (finishing or pausing)
Reimplemented in AAIController, UBTTaskNode, UGameplayTask, and UGameplayTask_TimeLimitedExecution.
|
inlinevirtual |
Notify called after GameplayTask finishes initialization (not active yet)
Reimplemented in AAIController, and UGameplayTask.
| virtual AActor* IGameplayTaskOwnerInterface::GetGameplayTaskOwner(const UGameplayTask *Task) const PURE_VIRTUAL(IGameplayTaskOwnerInterface |
Get owner of a task or default one when task is null
| 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!