Navigation
API > API/Plugins > API/Plugins/GameplayAbilities
This is a data structure for registering delegates associated with prediction key rejection and replicated state 'catching up'. Delegates should be registered that revert side effects created with prediction keys.
| Name | FPredictionKeyDelegates |
| Type | struct |
| Header File | /Engine/Plugins/Runtime/GameplayAbilities/Source/GameplayAbilities/Public/GameplayPrediction.h |
| Include Path | #include "GameplayPrediction.h" |
Syntax
struct FPredictionKeyDelegates
Structs
| Name | Remarks |
|---|---|
| FDelegates |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| DelegateMap | TMap< FPredictionKey::KeyType, FDelegates > | GameplayPrediction.h |
Functions
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static void AddDependency
(
FPredictionKey::KeyType ThisKey, |
GameplayPrediction.h | ||
static void BroadcastCaughtUpDelegate
(
FPredictionKey::KeyType Key |
GameplayPrediction.h | ||
static void BroadcastRejectedDelegate
(
FPredictionKey::KeyType Key |
GameplayPrediction.h | ||
static void CatchUpTo
(
FPredictionKey::KeyType Key |
GameplayPrediction.h | ||
static FPredictionKeyDelegates & Get() |
GameplayPrediction.h | ||
static FPredictionKeyEvent & NewCaughtUpDelegate
(
FPredictionKey::KeyType Key |
GameplayPrediction.h | ||
static FPredictionKeyEvent & NewRejectedDelegate
(
FPredictionKey::KeyType Key |
GameplayPrediction.h | ||
static void NewRejectOrCaughtUpDelegate
(
FPredictionKey::KeyType Key, |
GameplayPrediction.h | ||
static void Reject
(
FPredictionKey::KeyType Key |
GameplayPrediction.h |