FScopedTargetListLock

Used to stop us from canceling or ending an ability while we're iterating through its gameplay targets

Choose your operating system:

Windows

macOS

Linux

References

Module

GameplayAbilities

Header

/Engine/Plugins/Runtime/GameplayAbilities/Source/GameplayAbilities/Public/GameplayAbilitySpec.h

Include

#include "GameplayAbilitySpec.h"

Syntax

struct FScopedTargetListLock

Remarks

Used to stop us from canceling or ending an ability while we're iterating through its gameplay targets

Constructors

Name Description

Public function

FScopedTargetListLock

(
    UAbilitySystemComponent& InAbility...,
    const UGameplayAbility& InAbility
)

Destructors

Name Description

Public function

~FScopedTargetListLock()