FGameplayEffectContext::GetAbility

Returns the CDO of the ability used to instigate this context

Choose your operating system:

Windows

macOS

Linux

References

Module

GameplayAbilities

Header

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

Include

#include "GameplayEffectTypes.h"

Source

/Engine/Plugins/Runtime/GameplayAbilities/Source/GameplayAbilities/Private/GameplayEffectTypes.cpp

Syntax

const UGameplayAbility * GetAbility() const

Remarks

Returns the CDO of the ability used to instigate this context