Module |
|
Header |
/Engine/Plugins/Runtime/GameplayAbilities/Source/GameplayAbilities/Public/GameplayEffectTypes.h |
Include |
#include "GameplayEffectTypes.h" |
bool UpdateTagCount_DeferredParentRemoval
(
const FGameplayTag & Tag,
int32 CountDelta,
TArray< FDeferredTagChangeDelegate > & DeferredTagChangeDelegates
)
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.
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).
Parameter |
Description |
---|---|
Tag |
Tag to update |
CountDelta |
Delta of the tag count to apply |
DeferredTagChangeDelegates |
Delegates to be called after this code runs |