Choose your operating system:
Windows
macOS
Linux
| UObjectBase
|
Module |
|
Header |
/Engine/Source/Runtime/GameplayTasks/Classes/GameplayTasksComponent.h |
Include |
#include "GameplayTasksComponent.h" |
class UGameplayTasksComponent :
public UActorComponent,
public IGameplayTaskOwnerInterface
The core ActorComponent for interfacing with the GameplayAbilities System
Name | Description | ||
---|---|---|---|
|
uint8: 1 |
bIsNetDirty |
Set to indicate that GameplayTasksComponent needs immediate replication. |
|
CurrentlyClaimedResources |
Resources used by currently active tasks |
|
|
KnownTasks |
All known tasks (processed by this component) referenced for GC |
|
|
OnClaimedResourcesChange |
||
|
TaskEvents |
Transient array of events whose main role is to avoid long chain of recurrent calls if an activated/paused/removed task wants to push/pause/kill other tasks. |
|
|
TaskPriorityQueue |
||
|
TickingTasks |
Array of currently active UGameplayTask that require ticking |
|
|
TopActivePriority |
Indicates what's the highest priority among currently running tasks |
Name | Description | |
---|---|---|
|
UGameplayTasksComponent ( |
Name | Description | ||
---|---|---|---|
|
ReplicateSubobjects ( |
Allows a component to replicate other subobject on the actor |
|
|
TickComponent ( |
Function called every frame on this ActorComponent. |
Name | Description | ||
---|---|---|---|
|
GetLifetimeReplicatedProps ( |
Returns properties that are replicated for the lifetime of the actor channel |
Name | Description | ||
---|---|---|---|
|
AActor * |
GetGameplayTaskAvatar ( |
Get "body" of task's owner / default, having location in world (e.g. Owner = AIController, Avatar = Pawn) |
|
AActor * |
GetGameplayTaskOwner ( |
Get owner of a task or default one when task is null |
|
UGameplayTas... |
GetGameplayTasksComponent ( |
Finds tasks component for given GameplayTask, Task.GetGameplayTasksComponent() may not be initialized at this point! |
|
OnGameplayTaskActivated ( |
Notify called after GameplayTask changes state to Active (initial activation or resuming) |
|
|
OnGameplayTaskDeactivated ( |
Notify called after GameplayTask changes state from Active (finishing or pausing) |
Name |
Description |
|
---|---|---|
|
FEventLock |
Name |
Description |
---|---|
GameplayTaskContainerType |
Name | Description | ||
---|---|---|---|
|
SimulatedTasks |
This will be made private in future versions. Use GetSimulatedTasks, GetSimulatedTasks_Mutable, or SetSimulatedTasks instead. |