Navigation
API > API/Plugins > API/Plugins/GameplayAbilities > API/Plugins/GameplayAbilities/Abilities > API/Plugins/GameplayAbilities/Abilities/Tasks
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UGameplayTask
- UAbilityTask
- UAbilityTask_WaitConfirm
References
| Module | GameplayAbilities |
| Header | /Engine/Plugins/Runtime/GameplayAbilities/Source/GameplayAbilities/Public/Abilities/Tasks/AbilityTask_WaitConfirm.h |
| Include | #include "Abilities/Tasks/AbilityTask_WaitConfirm.h" |
Syntax
UCLASS&40;&41;
class UAbilityTask_WaitConfirm : public UAbilityTask
Remarks
Copyright Epic Games, Inc. All Rights Reserved.
Variables
| Type | Name | Description | |
|---|---|---|---|
| FGenericGameplayTaskDelegate | OnConfirm | ||
| FDelegateHandle | OnConfirmCallbackDelegateHandle | ||
| bool | RegisteredCallback |
Constructors
| Type | Name | Description | |
|---|---|---|---|
UAbilityTask_WaitConfirm
(
const FObjectInitializer& ObjectInitializer |
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | OnConfirmCallback
(
UGameplayAbility* InAbility |
||
| UAbilityTask_WaitConfirm * | WaitConfirm
(
UGameplayAbility* OwningAbility |
Wait until the server confirms the use of this ability. |
Overridden from UGameplayTask
| Type | Name | Description | |
|---|---|---|---|
| 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 | |
| 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. |