FGameplayEffectSpec::InitializeFromLinkedSpec

Initialize the spec as a linked spec.

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

void InitializeFromLinkedSpec
(
    const UGameplayEffect * InDef,
    const FGameplayEffectSpec & OriginalSpec
)

Remarks

Initialize the spec as a linked spec. The original spec's context is preserved except for the original GE asset tags, which are stripped out