FGameplayTagCountContainer::UpdateTagCount_DeferredParentRemoval

Update the specified tag by the specified delta, potentially causing an additional or removal from the explicit tag list.

Windows
MacOS
Linux

References

Module

GameplayAbilities

Header

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

Include

#include "GameplayEffectTypes.h"

Syntax

bool UpdateTagCount_DeferredParentRemoval
(
    const FGameplayTag & Tag,
    int32 CountDelta,
    TArray< FDeferredTagChangeDelegate > & DeferredTagChangeDelegates
)

Remarks

Update the specified tag by the specified delta, potentially causing an additional or removal from the explicit tag list. Calling code MUST call FillParentTags followed by executing the returned delegates.

Returns

True if tag was either added or removed. (E.g., we had the tag and now dont. or didnt have the tag and now we do. We didn't just change the count (1 count -> 2 count would return false).

Parameters

Parameter

Description

Tag

Tag to update

CountDelta

Delta of the tag count to apply

DeferredTagChangeDelegates

Delegates to be called after this code runs

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss