struct
GameplayEffectSpec
- Module
- AssetSystem
- Header
#include "Gameplay/GameplayEffect.h"- Namespace
Mowo
Properties
| Type | Name | Description |
|---|---|---|
FGameplayTag | id | identity (for targeted removal / stacking) |
EGEDuration | durationPolicy | Default EGEDuration::Instant. |
float | duration | seconds (Duration policy) Default 0.0f. |
float | period | seconds; 0 = not periodic Default 0.0f. |
float | level | scales ScalableFloat magnitudes Default 1.0f. |
std::vector<GameplayModifier> | modifiers | |
std::vector<FGameplayTag> | grantedTags | tags the owner has while this is active |
std::vector<FGameplayTag> | gameplayCues | Cosmetic 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. |
EGEStacking | stacking | Stacking (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_t | stackLimit | 0 = unlimited Default 0. |
bool | refreshDurationOnStack | Default true. |
bool | resetPeriodOnStack | Default false. |
EGEStackExpiration | stackExpiration | Default EGEStackExpiration::ClearEntireStack. |
std::vector<FGameplayTag> | assetTags | What the effect is, for immunity and RemoveEffectsWithTags. |
std::vector<FGameplayTag> | applicationRequiredTags | Target must have all / none of these for the effect to apply at all. |
std::vector<FGameplayTag> | applicationBlockedTags | |
std::vector<FGameplayTag> | ongoingRequiredTags | While 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> | grantedImmunityTags | While active, refuses any effect whose asset tags match one of these. |
std::vector<FGameplayTag> | removeEffectsWithTags | On application, removes every active effect whose asset or granted tags match one of these (a cleanse). |
std::vector<std::pair<FGameplayTag, float>> | setByCallerMagnitudes | SetByCaller values, set by whoever builds the spec before applying. |
FName | executionCalculation | A 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
| Returns | Name | Description |
|---|---|---|
void | SetSetByCallerMagnitude | |
float | GetSetByCallerMagnitude |
Function details
SetSetByCallerMagnitude
C++
void SetSetByCallerMagnitude(FGameplayTag tag, float value)GetSetByCallerMagnitude
C++
float GetSetByCallerMagnitude(FGameplayTag tag, float fallback = 0.0f) constGenerated from Gameplay/GameplayEffect.h via assetsystem.json · Nov 4, 2026Version 1.0.0