UGameplayAbility::GetAbilityLevel

Returns current ability level for non instanced abilities.

Choose your operating system:

Windows

macOS

Linux

References

Module

GameplayAbilities

Header

/Engine/Plugins/Runtime/GameplayAbilities/Source/GameplayAbilities/Public/Abilities/GameplayAbility.h

Include

#include "Abilities/GameplayAbility.h"

Source

/Engine/Plugins/Runtime/GameplayAbilities/Source/GameplayAbilities/Private/Abilities/GameplayAbility.cpp

Syntax

int32 GetAbilityLevel
(
    FGameplayAbilitySpecHandle Handle,
    const FGameplayAbilityActorInfo * ActorInfo
) const

Remarks

Returns current ability level for non instanced abilities. You must call this version in these contexts!