Navigation
API > API/Plugins > API/Plugins/GameplayAbilities
Struct defining the cached data for a specific gameplay ability. This data is generally synchronized client->server in a network game.
| Name | FAbilityReplicatedDataCache |
| Type | struct |
| Header File | /Engine/Plugins/Runtime/GameplayAbilities/Source/GameplayAbilities/Public/Abilities/GameplayAbilityTypes.h |
| Include Path | #include "Abilities/GameplayAbilityTypes.h" |
Syntax
struct FAbilityReplicatedDataCache
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FAbilityReplicatedDataCache() |
Abilities/GameplayAbilityTypes.h |
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual ~FAbilityReplicatedDataCache() |
Abilities/GameplayAbilityTypes.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| ApplicationTag | FGameplayTag | What tag to pass through when doing an application | Abilities/GameplayAbilityTypes.h | |
| bTargetCancelled | bool | True if we've been positively cancelled our targeting, false if we don't know | Abilities/GameplayAbilityTypes.h | |
| bTargetConfirmed | bool | True if we've been positively confirmed our targeting, false if we don't know | Abilities/GameplayAbilityTypes.h | |
| GenericEvents | FAbilityReplicatedData | Generic events that contain no payload data | Abilities/GameplayAbilityTypes.h | |
| PredictionKey | FPredictionKey | Prediction Key when this data was set | Abilities/GameplayAbilityTypes.h | |
| TargetCancelledDelegate | FSimpleMulticastDelegate | Delegate to call whenever this is confirmed (without target data) | Abilities/GameplayAbilityTypes.h | |
| TargetData | FGameplayAbilityTargetDataHandle | What elements this activation is targeting | Abilities/GameplayAbilityTypes.h | |
| TargetSetDelegate | FAbilityTargetDataSetDelegate | Delegate to call whenever this is modified | Abilities/GameplayAbilityTypes.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void Reset() |
Resets any cached data, leaves delegates up | Abilities/GameplayAbilityTypes.h | |
void ResetAll() |
Resets cached data and clears delegates. | Abilities/GameplayAbilityTypes.h |