FGameplayEventData

Metadata for a tag-based Gameplay Event, that can activate other abilities or run ability-specific logic

Windows
MacOS
Linux

References

Module

GameplayAbilities

Header

/Engine/Plugins/Runtime/GameplayAbilities/Source/GameplayAbilities/Public/Abilities/GameplayAbilityTypes.h

Include

#include "Abilities/GameplayAbilityTypes.h"

Syntax

[USTRUCT](Programming/UnrealArchitecture/Reference/Structs)([BlueprintType](Programming/UnrealArchitecture/Reference/Structs/Specifiers/BlueprintType))
struct FGameplayEventData

Remarks

Metadata for a tag-based Gameplay Event, that can activate other abilities or run ability-specific logic

Variables

Name Description

Public variable UProperty Category, EditAnywhere BlueprintReadWrite

FGameplayEffect...

 

ContextHandle

Polymorphic context information

Public variable UProperty Category, EditAnywhere BlueprintReadWrite

float

 

EventMagnitude

The magnitude of the triggering event

Public variable UProperty Category, EditAnywhere BlueprintReadWrite

FGameplayTag

 

EventTag

Tag of the event that triggered this

Public variable UProperty Category, EditAnywhere BlueprintReadWrite

const AActor &#...

 

Instigator

The instigator of the event

Public variable UProperty Category, EditAnywhere BlueprintReadWrite

FGameplayTagCon...

 

InstigatorTags

Tags that the instigator has

Public variable UProperty Category, EditAnywhere BlueprintReadWrite

const UObject &...

 

OptionalObject

An optional ability-specific object to be passed though the event

Public variable UProperty Category, EditAnywhere BlueprintReadWrite

const UObject &...

 

OptionalObject2

A second optional ability-specific object to be passed though the event

Public variable UProperty Category, EditAnywhere BlueprintReadWrite

const AActor &#...

 

Target

The target of the event

Public variable UProperty Category, EditAnywhere BlueprintReadWrite

FGameplayAbilit...

 

TargetData

The polymorphic target information for the event

Public variable UProperty Category, EditAnywhere BlueprintReadWrite

FGameplayTagCon...

 

TargetTags

Tags that the target has

Constructors

Name Description

Public function

FGameplayEventData()

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