struct

GameplayEffectSpec

Module
AssetSystem
Header
#include "Gameplay/GameplayEffect.h"
Namespace
Mowo

Properties

TypeNameDescription
FGameplayTagididentity (for targeted removal / stacking)
EGEDurationdurationPolicyDefault EGEDuration::Instant.
floatdurationseconds (Duration policy) Default 0.0f.
floatperiodseconds; 0 = not periodic Default 0.0f.
floatlevelscales ScalableFloat magnitudes Default 1.0f.
std::vector<GameplayModifier>modifiers
std::vector<FGameplayTag>grantedTagstags the owner has while this is active
std::vector<FGameplayTag>gameplayCuesCosmetic cues fired through FGameplayCueDispatcher when this effect is applied (Executed for Instant / periodic tick, OnActive for Duration/Infinite) and removed (Removed). Data-driven — the game names a cue tag, no per-cue code needed on the effect.
EGEStackingstackingStacking (Duration / Infinite only). A stack multiplies Add magnitudes by the count and Multiply ones by the power of it; Override is once. Default EGEStacking::None.
int32_tstackLimit0 = unlimited Default 0.
boolrefreshDurationOnStackDefault true.
boolresetPeriodOnStackDefault false.
EGEStackExpirationstackExpirationDefault EGEStackExpiration::ClearEntireStack.
std::vector<FGameplayTag>assetTagsWhat the effect is, for immunity and RemoveEffectsWithTags.
std::vector<FGameplayTag>applicationRequiredTagsTarget must have all / none of these for the effect to apply at all.
std::vector<FGameplayTag>applicationBlockedTags
std::vector<FGameplayTag>ongoingRequiredTagsWhile the target lacks a required tag or has a blocked one, the effect stays but is inhibited: no modifiers, no periodic ticks, no granted tags.
std::vector<FGameplayTag>ongoingBlockedTags
std::vector<FGameplayTag>grantedImmunityTagsWhile active, refuses any effect whose asset tags match one of these.
std::vector<FGameplayTag>removeEffectsWithTagsOn application, removes every active effect whose asset or granted tags match one of these (a cleanse).
std::vector<std::pair<FGameplayTag, float>>setByCallerMagnitudesSetByCaller values, set by whoever builds the spec before applying.
FNameexecutionCalculationA registered execution calculation (FGameplayEffectExecutions) run on application of an instant effect and on every period; its output modifiers execute against the base. Empty = none.

Public functions

ReturnsNameDescription
voidSetSetByCallerMagnitude
floatGetSetByCallerMagnitude

Function details

SetSetByCallerMagnitude

C++
void SetSetByCallerMagnitude(FGameplayTag tag, float value)

GetSetByCallerMagnitude

C++
float GetSetByCallerMagnitude(FGameplayTag tag, float fallback = 0.0f) const
Generated from Gameplay/GameplayEffect.h via assetsystem.json · Nov 4, 2026Version 1.0.0