FGameplayEffectSpec::AddModifiedAttribute

Adds a new modified attribute struct, will always add so check to see if it exists first

Choose your operating system:

Windows

macOS

Linux

References

Module

GameplayAbilities

Header

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

Include

#include "GameplayEffect.h"

Source

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

Syntax

FGameplayEffectModifiedAttribute * AddModifiedAttribute
(
    const FGameplayAttribute & Attribute
)

Remarks

Adds a new modified attribute struct, will always add so check to see if it exists first