Navigation
API > API/Plugins > API/Plugins/GameplayAbilities
Metadata for a tag-based Gameplay Event, that can activate other abilities or run ability-specific logic
| Name | FGameplayEventData |
| Type | struct |
| Header File | /Engine/Plugins/Runtime/GameplayAbilities/Source/GameplayAbilities/Public/Abilities/GameplayAbilityTypes.h |
| Include Path | #include "Abilities/GameplayAbilityTypes.h" |
Syntax
USTRUCT (BlueprintType )
struct FGameplayEventData
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FGameplayEventData() |
Abilities/GameplayAbilityTypes.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| ContextHandle | FGameplayEffectContextHandle | Polymorphic context information | Abilities/GameplayAbilityTypes.h |
|
| EventMagnitude | float | The magnitude of the triggering event | Abilities/GameplayAbilityTypes.h |
|
| EventTag | FGameplayTag | Tag of the event that triggered this | Abilities/GameplayAbilityTypes.h |
|
| Instigator | TObjectPtr< const AActor > | The instigator of the event | Abilities/GameplayAbilityTypes.h |
|
| InstigatorTags | FGameplayTagContainer | Tags that the instigator has | Abilities/GameplayAbilityTypes.h |
|
| OptionalObject | TObjectPtr< const UObject > | An optional ability-specific object to be passed though the event | Abilities/GameplayAbilityTypes.h |
|
| OptionalObject2 | TObjectPtr< const UObject > | A second optional ability-specific object to be passed though the event | Abilities/GameplayAbilityTypes.h |
|
| Target | TObjectPtr< const AActor > | The target of the event | Abilities/GameplayAbilityTypes.h |
|
| TargetData | FGameplayAbilityTargetDataHandle | The polymorphic target information for the event | Abilities/GameplayAbilityTypes.h |
|
| TargetTags | FGameplayTagContainer | Tags that the target has | Abilities/GameplayAbilityTypes.h |
|