Choose your operating system:
Windows
macOS
Linux
Module |
|
Header |
/Engine/Plugins/Runtime/GameplayAbilities/Source/GameplayAbilities/Public/GameplayEffectTypes.h |
Include |
#include "GameplayEffectTypes.h" |
USTRUCT(BlueprintType,
Meta=(HasNativeBreak="GameplayAbilities.AbilitySystemBlueprintLibrary.BreakGameplayCueParameters", HasNativeMake="GameplayAbilities.AbilitySystemBlueprintLibrary.MakeGameplayCueParameters"))
struct FGameplayCueParameters
Metadata about a gameplay cue execution
Name | Description | ||
---|---|---|---|
|
AbilityLevel |
If originating from an ability, this will be the level of that ability |
|
|
AggregatedSourceTags |
The aggregated source tags taken from the effect spec |
|
|
AggregatedTargetTags |
The aggregated target tags taken from the effect spec |
|
|
bReplicateLocationWhenUsingMinimalRepProxy |
If we're using a minimal replication proxy, should we replicate location for this cue |
|
|
TWeakObjectPtr<... |
EffectCauser |
The physical actor that actually did the damage, can be a weapon or projectile |
|
EffectContext |
Effect context, contains information about hit result, etc |
|
|
GameplayEffectLevel |
If originating from a GameplayEffect, the level of that GameplayEffect |
|
|
TWeakObjectPtr<... |
Instigator |
Instigator actor, the actor that owns the ability system component |
|
Location |
Location cue took place at |
|
|
MatchedTagName |
The tag name that matched this specific gameplay cue handler |
|
|
Normal |
Normal of impact that caused cue |
|
|
float |
NormalizedMagnitude |
Magnitude of source gameplay effect, normalzed from 0-1. |
|
OriginalTag |
The original tag of the gameplay cue |
|
|
TWeakObjectPtr<... |
PhysicalMaterial |
PhysMat of the hit, if there was a hit. |
|
float |
RawMagnitude |
Raw final magnitude of source gameplay effect. |
|
TWeakObjectPtr<... |
SourceObject |
Object this effect was created from, can be an actor or static object. |
|
TWeakObjectPtr<... |
TargetAttachComponent |
Could be used to say "attach FX to this component always" |
Name | Description | |
---|---|---|
|
FGameplayCueParameters() |
|
|
FGameplayCueParameters ( |
Projects can override this via UAbilitySystemGlobals |
|
FGameplayCueParameters ( |
Name | Description | ||
---|---|---|---|
|
AActor * |
GetEffectCauser() |
Returns the actor that physically caused the damage, could be a projectile or weapon |
|
AActor * |
GetInstigator() |
Returns the actor that instigated this originally, generally attached to an ability system component |
|
const UObjec... |
GetSourceObject() |
Returns the object that originally caused this, game-specific but usually not an actor |
|
IsInstigatorLocallyControlled ( |
Returns true if this is locally controlled, using fallback actor if nothing else available |
|
|
IsInstigatorLocallyControlledPlayer ( |
Fallback actor is used if the parameters have nullptr for instigator and effect causer |
|
|
NetSerialize ( |
Optimized serializer |