Choose your operating system:
Windows
macOS
Linux
Module |
|
Header |
/Engine/Plugins/Runtime/GameplayAbilities/Source/GameplayAbilities/Public/Abilities/Tasks/AbilityTask.h |
Include |
#include "Abilities/Tasks/AbilityTask.h" |
UCLASS(Abstract)
class UAbilityTask : public UGameplayTask
Name | Description | ||
---|---|---|---|
|
Ability |
GameplayAbility that created us |
|
|
AbilitySystemComponent |
||
|
uint8: 1 |
bWasSuccessfullyDestroyed |
|
|
WaitStateBitMask |
What we are waiting on |
Name | Description | |
---|---|---|
|
UAbilityTask ( |
Name | Description | ||
---|---|---|---|
|
CallOrAddReplicatedDelegate ( |
Helper method for registering client replicated callbacks |
|
|
ClearWaitingOnAvatar() |
||
|
ClearWaitingOnRemotePlayerData() |
||
|
DelayedFalse() |
||
|
FGameplayAbi... |
GetAbilitySpecHandle() |
Returns spec handle for owning ability |
|
FPredictionK... |
GetActivationPredictionKey() |
Returns ActivationPredictionKey of owning ability |
|
IsForRemoteClient() |
Returns true if we are executing the ability on the server for a non locally controlled client |
|
|
IsLocallyControlled() |
Returns true if we are executing the ability on the locally controlled client |
|
|
IsPredictingClient() |
Returns true if the ability is a locally predicted ability running on a client. |
|
|
T * |
NewAbilityTask ( |
Helper function for instantiating and initializing a new task |
|
T * |
NewTask |
This function has been added to make sure AbilityTasks don't use this method |
|
SetAbilitySystemComponent ( |
||
|
SetWaitingOnAvatar() |
Same as RemotePlayerData but for ACharacter type of state (movement state, etc) |
|
|
SetWaitingOnRemotePlayerData() |
Called when the ability task is waiting on remote player data. |
|
|
ShouldBroadcastAbilityTaskDelegates() |
This should be called prior to broadcasting delegates back into the ability graph. |
Name | Description | ||
---|---|---|---|
|
InitSimulatedTask ( |
||
|
IsWaitingOnAvatar() |
||
|
IsWaitingOnRemotePlayerdata() |
||
|
OnDestroy ( |
End and CleanUp the task - may be called by the task itself or by the task owner if the owner is ending. |
Name | Description | ||
---|---|---|---|
|
BeginDestroy() |
Called before destroying the object. |
Name |
Description |
---|---|
GlobalAbilityTaskCount |